mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
[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:
parent
5b7b81a7b1
commit
aba48bd5d6
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user