Skip to content

Commit

Permalink
[PRISM] Fix version spec to account for prism
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Feb 28, 2024
1 parent 1cef366 commit 49aa8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/command_line/dash_v_spec.rb
Expand Up @@ -6,7 +6,7 @@

describe "when used alone" do
it "prints version and ends" do
ruby_exe(nil, args: '-v').should include(RUBY_DESCRIPTION)
ruby_exe(nil, args: '-v').sub("+PRISM ", "").should include(RUBY_DESCRIPTION)
end unless (defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?) ||
(defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?) ||
(ENV['RUBY_MN_THREADS'] == '1')
Expand Down

0 comments on commit 49aa8d6

Please sign in to comment.