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:
@@ -510,7 +510,7 @@ public class FileWatcherTest extends PlatformLangTestCase {
|
||||
File file2 = IoTestUtil.createTestFile(rootDir, "2.txt");
|
||||
refresh(topDir);
|
||||
|
||||
File fsRoot = new File(SystemInfo.isUnix ? "/" : topDir.getPath().substring(0, topDir.getPath().indexOf(File.separatorChar)));
|
||||
File fsRoot = new File(SystemInfo.isUnix ? "/" : topDir.getPath().substring(0, topDir.getPath().indexOf(File.separatorChar)) + "\\");
|
||||
assertTrue("can't guess root of " + topDir, fsRoot.exists());
|
||||
|
||||
LocalFileSystem.WatchRequest request = watch(rootDir);
|
||||
|
||||
Reference in New Issue
Block a user