Skip to content

Commit f19c54d

Browse files
committed
Merge branch 'headius-master'
2 parents 4d9ea49 + 091539d commit f19c54d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

argparser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <string>
1010
#include <algorithm>
1111
#include <unistd.h>
12+
#include <limits>
1213
#include "utilsfuncs.h"
1314
#include "argparser.h"
1415
#include "argnames.h"

spec/launcher_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
it "should print help message" do
1414
args = jruby_launcher_args("-Xhelp 2>&1")
15-
args.detect{|l| l =~ /JRuby Launcher usage/}.should be_true
15+
args.select {|l| l =~ /JRuby Launcher usage/}.should_not be_empty
1616
args.should include("-X")
1717
args = jruby_launcher_args("-X 2>&1")
18-
args.detect{|l| l =~ /JRuby Launcher usage/}.should be_true
18+
args.detect {|l| l =~ /JRuby Launcher usage/}.should_not be_empty
1919
args.should include("-X")
2020
end
2121

0 commit comments

Comments
 (0)