Skip to content

Commit

Permalink
skip TruffleRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Oct 11, 2023
1 parent 3804f38 commit bab704e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/json_parser_test.rb
Expand Up @@ -24,6 +24,9 @@ def test_argument_encoding
end if defined?(Encoding::UTF_16)

def test_error_message_encoding
# https://github.com/flori/json/actions/runs/6478148162/job/17589572890
pend if RUBY_ENGINE == 'truffleruby'

bug10705 = '[ruby-core:67386] [Bug #10705]'
json = ".\"\xE2\x88\x9A\"".force_encoding(Encoding::UTF_8)
e = assert_raise(JSON::ParserError) {
Expand Down

0 comments on commit bab704e

Please sign in to comment.