Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
Since ConsoleLauncher has a different working directory than the test
  • Loading branch information
marcphilipp committed Jun 30, 2019
1 parent a02aa04 commit a68e28b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void testWithJarredTestClasses() {
var jar = root.resolve(Helper.createJarPath("junit-platform-console-standalone"));
var path = new ArrayList<String>();
// path.add("bin"); // "exploded" test classes are found, see also test() above
path.add(Request.WORKSPACE.resolve("standalone/jar/tests.jar").toString());
path.add(Request.WORKSPACE.resolve("standalone/jar/tests.jar").toAbsolutePath().toString());
path.add(jar.toString());
var result = Request.builder() //
.setTool(new Java()) //
Expand Down

0 comments on commit a68e28b

Please sign in to comment.