diff options
Diffstat (limited to 'spec/ruby/command_line')
-rw-r--r-- | spec/ruby/command_line/rubyopt_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/command_line/rubyopt_spec.rb b/spec/ruby/command_line/rubyopt_spec.rb index fb06f60e51..2db42f77ef 100644 --- a/spec/ruby/command_line/rubyopt_spec.rb +++ b/spec/ruby/command_line/rubyopt_spec.rb @@ -22,7 +22,7 @@ describe "Processing RUBYOPT" do result.should =~ /value of \$DEBUG is true/ end - unless CROSS_COMPILING + guard -> { not CROSS_COMPILING } do it "prints the version number for '-v'" do ENV["RUBYOPT"] = '-v' ruby_exe("")[/\A.*/].should == RUBY_DESCRIPTION |