Skip to content

Commit ccf0d99

Browse files
committed
Fix the remaning spec failure on Windows. 100% pass now.
1 parent 419e6a8 commit ccf0d99

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

spec/launcher_spec.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,13 @@
157157
end
158158

159159
# JRUBY-4709
160-
it "should include a bare : at the end of the classpath, to include PWD in the path" do
161-
jruby_launcher_args("-Xnobootclasspath -e true").grep(/java\.class\.path/).first.should =~ /:$/
160+
it "should include a bare : or ; at the end of the classpath, to include PWD in the path" do
161+
jruby_launcher_args("-Xnobootclasspath -e true").grep(/java\.class\.path/).first.should =~
162+
if windows?
163+
/;$/
164+
else
165+
/:$/
166+
end
162167
end
163168

164169
it "should print the version" do

0 commit comments

Comments
 (0)