mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Test fixed
This commit is contained in:
+1
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user