We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82a1cc6 commit 091539dCopy full SHA for 091539d
spec/launcher_spec.rb
@@ -12,10 +12,10 @@
12
13
it "should print help message" do
14
args = jruby_launcher_args("-Xhelp 2>&1")
15
- args.detect{|l| l =~ /JRuby Launcher usage/}.should be_true
+ args.select {|l| l =~ /JRuby Launcher usage/}.should_not be_empty
16
args.should include("-X")
17
args = jruby_launcher_args("-X 2>&1")
18
+ args.detect {|l| l =~ /JRuby Launcher usage/}.should_not be_empty
19
20
end
21
0 commit comments