Skip to content

Commit c646f31

Browse files
authored
Merge pull request #379 from maven-nar/feature/fix-dependency-path-order
Fix the dependency path order when executing tests
2 parents 7c2540a + 9ca2ad5 commit c646f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/github/maven_nar/NarUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static String addLibraryPathToEnv(final String path, final Map environmen
109109
String libPath = path;
110110
libPath = libPath.replace(File.pathSeparatorChar, separator);
111111
if (value != null) {
112-
value += separator + libPath;
112+
value = libPath + separator + value; // items under test first on path
113113
} else {
114114
value = libPath;
115115
}

0 commit comments

Comments
 (0)