Skip to content

Commit a1d7478

Browse files
committed
The classpath might have only the given entry and nothing else
1 parent 79dccb5 commit a1d7478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/truffle/launcher_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ def should_print_full_java_command(options, env: {})
236236
it "'--vm.cp=' or '--vm.classpath=' add the jar" do
237237
out = ruby_exe("puts Truffle::System.get_java_property('java.class.path')", options: "--vm.cp=does-not-exist.jar", args: @redirect)
238238
check_status_and_empty_stderr
239-
out.lines[0].should include(":does-not-exist.jar")
239+
out.lines[0].should include("does-not-exist.jar")
240240

241241
out = ruby_exe("puts Truffle::System.get_java_property('java.class.path')", options: "--vm.classpath=does-not-exist.jar", args: @redirect)
242242
check_status_and_empty_stderr
243-
out.lines[0].should include(":does-not-exist.jar")
243+
out.lines[0].should include("does-not-exist.jar")
244244
end
245245
end
246246

0 commit comments

Comments
 (0)