summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2025-12-06 18:03:17 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-23 15:03:33 +0900
commit5b7b81a7b19225736cb62f34e2be83f27db46445 (patch)
tree92c44fd2307b0fe9e88b50000985c19695d8df22
parent7d7c776fdfe03e54537164ed91e22ca722a24259 (diff)
[ruby/pathname] Reenable truffleruby in CI and omit the 2 failing tests
* See https://github.com/ruby/pathname/pull/73 https://github.com/ruby/pathname/commit/a8d7f8bde3
-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 3a425ffae5..1dc7f59adf 100644
--- a/test/pathname/test_pathname.rb
+++ b/test/pathname/test_pathname.rb
@@ -498,6 +498,7 @@ 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
@@ -625,6 +626,7 @@ class TestPathname < Test::Unit::TestCase
end
def test_null_character
+ omit "https://github.com/truffleruby/truffleruby/issues/4047" if RUBY_ENGINE == "truffleruby"
assert_raise(ArgumentError) { Pathname.new("\0") }
end