Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
run: bundle install
- name: Run test
run: rake compile test
continue-on-error: ${{ contains(matrix.ruby, 'truffleruby') }}

spec:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions test/pathname/test_pathname.rb
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ def obj.to_str; "a/b"; end
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

Expand Down Expand Up @@ -612,6 +613,7 @@ def test_destructive_update
end

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

Expand Down