void () { for (int i = 0; i < 10; i++) { String path = StringUtil.repeat("/", i); VirtualFile root = LocalFileSystem.getInstance().findFileByPathIfCached(path); assertTrue(path, root == null || !root.getPath().contains("//")); VirtualFile root2 = LocalFileSystem.getInstance().findFileByPath(path); assertTrue(path, root2 == null || !root2.getPath().contains("//")); } }