mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
Junit fix for non-Windows platforms
Former-commit-id: 03b59f68cc08974d7aa88c35dafbf212112c4af8
This commit is contained in:
@@ -97,7 +97,7 @@ public class DriverLoaderTest {
|
||||
final File testClassPath = (new File(this.getClass().getClassLoader().getResource("org.mortbay.jetty.jar").getPath())).getParentFile();
|
||||
final File dir1 = new File(testClassPath, "../../src/test/");
|
||||
final File dir2 = new File(testClassPath, "../../src/test/resources/");
|
||||
final String paths = String.format("%s;%s", dir1.getAbsolutePath(), dir2.getAbsolutePath());
|
||||
final String paths = String.format("%s" + File.pathSeparator + "%s", dir1.getAbsolutePath(), dir2.getAbsolutePath());
|
||||
|
||||
DriverLoader.load(className, paths);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user