Test fixed

This commit is contained in:
Roman Shevchenko
2012-08-15 15:12:17 +04:00
parent 3ce211d3ca
commit be62cbc8dd
@@ -162,7 +162,6 @@ public class LocalFileSystemTest extends PlatformLangTestCase {
if (SystemInfo.isWindows) {
root = LocalFileSystem.getInstance().findFileByPath("\\\\unit-133");
assertNotNull(root);
assertEquals(root.getPath(), "\\\\UNIT-133");
root2 = LocalFileSystem.getInstance().findFileByPath("//UNIT-133");
assertNotNull(root2);
assertTrue(String.valueOf(root2), root == root2);
@@ -175,7 +174,7 @@ public class LocalFileSystemTest extends PlatformLangTestCase {
if (new File("c:").exists()) {
root = LocalFileSystem.getInstance().findFileByPath("c:");
assertNotNull(root);
assertEquals(root.getPath(), "C:");
assertEquals("C:", root.getPath());
root2 = LocalFileSystem.getInstance().findFileByPath("C:\\");
assertTrue(String.valueOf(root2), root == root2);