Skip to content

Commit fc70010

Browse files
committed
Omit failure on JRuby and truffleruby
1 parent 5ba967b commit fc70010

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/pathname/test_pathname.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ def test_initialize_nul
503503
end
504504

505505
def test_initialize_encoding
506+
omit "https://github.com/jruby/jruby/issues/9120" if RUBY_ENGINE == "jruby"
507+
omit "https://github.com/truffleruby/truffleruby/issues/4047" if RUBY_ENGINE == "truffleruby"
506508
assert_raise(Encoding::CompatibilityError) { Pathname.new("a".encode(Encoding::UTF_32BE)) }
507509
end
508510

0 commit comments

Comments
 (0)