mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
[ruby/pathname] Omit failure on JRuby and truffleruby
https://github.com/ruby/pathname/commit/fc70010d40
This commit is contained in:
parent
5c58327065
commit
4449100a11
@ -502,6 +502,8 @@ class TestPathname < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_initialize_encoding
|
||||
omit "https://github.com/jruby/jruby/issues/9120" if RUBY_ENGINE == "jruby"
|
||||
omit "https://github.com/truffleruby/truffleruby/issues/4047" if RUBY_ENGINE == "truffleruby"
|
||||
assert_raise(Encoding::CompatibilityError) { Pathname.new("a".encode(Encoding::UTF_32BE)) }
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user