Skip to content

Commit a68e28b

Browse files
committed
Fix path
Since ConsoleLauncher has a different working directory than the test
1 parent a02aa04 commit a68e28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/StandaloneTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void testWithJarredTestClasses() {
111111
var jar = root.resolve(Helper.createJarPath("junit-platform-console-standalone"));
112112
var path = new ArrayList<String>();
113113
// path.add("bin"); // "exploded" test classes are found, see also test() above
114-
path.add(Request.WORKSPACE.resolve("standalone/jar/tests.jar").toString());
114+
path.add(Request.WORKSPACE.resolve("standalone/jar/tests.jar").toAbsolutePath().toString());
115115
path.add(jar.toString());
116116
var result = Request.builder() //
117117
.setTool(new Java()) //

0 commit comments

Comments
 (0)