diff options
author | Kevin Newton <[email protected]> | 2024-03-18 12:09:09 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-03-20 14:28:13 -0400 |
commit | 0e8b6c62a44cb674dbda2e79cf027bcc7c324ad8 (patch) | |
tree | 932cda5ff12f8727f1e0bab12de438a631a943a9 /spec/ruby/command_line/rubyopt_spec.rb | |
parent | 4238615432894804e8dc4dfc751d2b8c0d60ea0f (diff) |
[PRISM] Enable specs in CI
Diffstat (limited to 'spec/ruby/command_line/rubyopt_spec.rb')
-rw-r--r-- | spec/ruby/command_line/rubyopt_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/command_line/rubyopt_spec.rb b/spec/ruby/command_line/rubyopt_spec.rb index 734db8d519..18a5959b18 100644 --- a/spec/ruby/command_line/rubyopt_spec.rb +++ b/spec/ruby/command_line/rubyopt_spec.rb @@ -25,12 +25,12 @@ describe "Processing RUBYOPT" do guard -> { not CROSS_COMPILING } do it "prints the version number for '-v'" do ENV["RUBYOPT"] = '-v' - ruby_exe("")[/\A.*/].should == RUBY_DESCRIPTION + ruby_exe("")[/\A.*/].should == RUBY_DESCRIPTION.sub("+PRISM ", "") end it "ignores whitespace around the option" do ENV["RUBYOPT"] = ' -v ' - ruby_exe("")[/\A.*/].should == RUBY_DESCRIPTION + ruby_exe("")[/\A.*/].should == RUBY_DESCRIPTION.sub("+PRISM ", "") end end |