mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
VFS test fix
This commit is contained in:
+2
-2
@@ -396,8 +396,8 @@ public class LocalFileSystemTest extends PlatformLangTestCase {
|
||||
PersistentFS.getInstance().findRoot("", myFS);
|
||||
fail("should fail by assertion in PersistentFsImpl.findRoot()");
|
||||
}
|
||||
catch (AssertionError e) {
|
||||
String message = e.getMessage();
|
||||
catch (Throwable t) {
|
||||
String message = t.getMessage();
|
||||
assertTrue(message, message.startsWith("Invalid root"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user