summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-12-07 23:08:01 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-23 14:56:10 +0900
commit4449100a1116d8cce85bb4a0854c22a83ce7443d (patch)
tree67b8f8e15ba75e3bc536325c6326426db5410973
parent5c5832706577219cef99f735735c7aac102e8a09 (diff)
[ruby/pathname] Omit failure on JRuby and truffleruby
https://github.com/ruby/pathname/commit/fc70010d40
-rw-r--r--test/pathname/test_pathname.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb
index 3114d1458d..3a425ffae5 100644
--- a/test/pathname/test_pathname.rb
+++ b/test/pathname/test_pathname.rb
@@ -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