mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Gradle: test fixed, wrong interpretation of the FileUtil.getRelativePath(java.io.File, java.io.File) result when base dir is not exist
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ public class ModuleExtendedModelBuilderImplTest extends AbstractModelBuilderTest
|
||||
String path =
|
||||
FileUtil.toCanonicalPath(FileUtil.getRelativePath(new File(testDir, moduleName), sourceDirectory.getDirectory()));
|
||||
Assert.assertNotNull(path);
|
||||
return path.substring(path.indexOf("/") + 1);
|
||||
return path;
|
||||
});
|
||||
Collections.sort(list);
|
||||
return list;
|
||||
|
||||
Reference in New Issue
Block a user