Skip to content

Commit a05fd41

Browse files
committed
Reenable truffleruby in CI and omit the 2 failing tests
* See #73
1 parent 89b5f44 commit a05fd41

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
run: bundle install
4141
- name: Run test
4242
run: rake compile test
43-
continue-on-error: ${{ contains(matrix.ruby, 'truffleruby') }}
4443

4544
spec:
4645
runs-on: ubuntu-latest

test/pathname/test_pathname.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ def obj.to_str; "a/b"; end
491491
end
492492

493493
def test_initialize_nul
494+
omit "https://github.com/truffleruby/truffleruby/issues/4047" if RUBY_ENGINE == "truffleruby"
494495
assert_raise(ArgumentError) { Pathname.new("a\0") }
495496
end
496497

@@ -612,6 +613,7 @@ def test_destructive_update
612613
end
613614

614615
def test_null_character
616+
omit "https://github.com/truffleruby/truffleruby/issues/4047" if RUBY_ENGINE == "truffleruby"
615617
assert_raise(ArgumentError) { Pathname.new("\0") }
616618
end
617619

0 commit comments

Comments
 (0)