diff --git a/tests/json_parser_test.rb b/tests/json_parser_test.rb index 220826a4..cc9a74a9 100644 --- a/tests/json_parser_test.rb +++ b/tests/json_parser_test.rb @@ -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) {