summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/dash_v_spec.rb
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-03-18 12:09:09 -0400
committerKevin Newton <kddnewton@gmail.com>2024-03-20 14:28:13 -0400
commit0e8b6c62a44cb674dbda2e79cf027bcc7c324ad8 (patch)
tree932cda5ff12f8727f1e0bab12de438a631a943a9 /spec/ruby/command_line/dash_v_spec.rb
parent4238615432894804e8dc4dfc751d2b8c0d60ea0f (diff)
[PRISM] Enable specs in CI
Diffstat (limited to 'spec/ruby/command_line/dash_v_spec.rb')
-rw-r--r--spec/ruby/command_line/dash_v_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/command_line/dash_v_spec.rb b/spec/ruby/command_line/dash_v_spec.rb
index 15569fa642..747db7f755 100644
--- a/spec/ruby/command_line/dash_v_spec.rb
+++ b/spec/ruby/command_line/dash_v_spec.rb
@@ -6,7 +6,7 @@ describe "The -v command line option" do
describe "when used alone" do
it "prints version and ends" do
- ruby_exe(nil, args: '-v').sub("+PRISM ", "").should include(RUBY_DESCRIPTION)
+ ruby_exe(nil, args: '-v').sub("+PRISM ", "").should include(RUBY_DESCRIPTION.sub("+PRISM ", ""))
end unless (defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?) ||
(defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?) ||
(ENV['RUBY_MN_THREADS'] == '1')