[ruby/pathname] Remove omit's for File.path since it is fixed in the last TruffleRuby release

https://github.com/ruby/pathname/commit/97c97bc956
This commit is contained in:
Benoit Daloze 2026-01-17 13:36:20 +01:00 committed by Hiroshi SHIBATA
parent 5b7b81a7b1
commit aba48bd5d6
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -498,13 +498,11 @@ class TestPathname < Test::Unit::TestCase
end
def test_initialize_nul
omit "https://github.com/truffleruby/truffleruby/issues/4047" if RUBY_ENGINE == "truffleruby"
assert_raise(ArgumentError) { Pathname.new("a\0") }
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