Skip to content

Commit

Permalink
Enable skipped on TruffleRuby test case on truffleruby-head
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed May 3, 2024
1 parent 91f450e commit 0f52509
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/return_codes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@

it "prints a message to STDERR" do
# https://github.com/oracle/truffleruby/issues/3535
skip "fails on truffleruby" if RUBY_ENGINE == "truffleruby" && command.include?("testunit_bad.rb")
skip "fails on truffleruby" if RUBY_ENGINE == "truffleruby" && Object::Object::RUBY_ENGINE_VERSION < "24.1" && command.include?("testunit_bad.rb")

expect(@stderr).to match(/stopped.+SimpleCov.+previous.+error/i)
end
end
Expand Down

0 comments on commit 0f52509

Please sign in to comment.