Skip to content

Commit 124ceb1

Browse files
andrykonchinPragTob
authored andcommitted
Enable skipped on TruffleRuby test case on truffleruby-head
1 parent 91f450e commit 124ceb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/return_codes_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535

3636
it "prints a message to STDERR" do
3737
# https://github.com/oracle/truffleruby/issues/3535
38-
skip "fails on truffleruby" if RUBY_ENGINE == "truffleruby" && command.include?("testunit_bad.rb")
38+
skip "fails on truffleruby" if RUBY_ENGINE == "truffleruby" && Object::Object::RUBY_ENGINE_VERSION < "24.1" && command.include?("testunit_bad.rb")
39+
3940
expect(@stderr).to match(/stopped.+SimpleCov.+previous.+error/i)
4041
end
4142
end

0 commit comments

Comments
 (0)