You've already forked linux-packaging-mono
Imported Upstream version 4.2.0.179
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
This commit is contained in:
committed by
Jo Shields
parent
aa7da660d6
commit
c042cd0c52
@ -173,9 +173,10 @@ namespace MonoTests.System.IO
|
||||
Assert.AreEqual ("one", testPath, "Combine #03");
|
||||
|
||||
string current = Directory.GetCurrentDirectory ();
|
||||
bool currentIsDSC = current.Length == 1 && current [0] == DSC;
|
||||
testPath = Path.Combine (current, "one");
|
||||
|
||||
string expected = current + DSC + "one";
|
||||
string expected = (currentIsDSC ? String.Empty : current) + DSC + "one";
|
||||
Assert.AreEqual (expected, testPath, "Combine #04");
|
||||
|
||||
testPath = Path.Combine ("one", current);
|
||||
@ -484,9 +485,9 @@ namespace MonoTests.System.IO
|
||||
public void GetFullPath ()
|
||||
{
|
||||
string current = Directory.GetCurrentDirectory ();
|
||||
|
||||
bool currentIsDSC = current.Length == 1 && current [0] == DSC;
|
||||
string testFullPath = Path.GetFullPath ("foo.txt");
|
||||
string expected = current + DSC + "foo.txt";
|
||||
string expected = (currentIsDSC ? String.Empty : current) + DSC + "foo.txt";
|
||||
Assert.AreEqual (expected, testFullPath, "GetFullPath #01");
|
||||
|
||||
testFullPath = Path.GetFullPath ("a//./.././foo.txt");
|
||||
|
Reference in New Issue
Block a user