aboutsummaryrefslogtreecommitdiffstats
path: root/test/json/json_parser_test.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-10-11 14:09:18 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-10-11 15:45:17 +0900
commitb17ae8889444bc3437ec88265cf9d90c9064def4 (patch)
treeecae88ce8b86c0e3817a355e385c7fb91bd558e1 /test/json/json_parser_test.rb
parente42df781d95c9558fbf552eed6cd2c4e4bd3f782 (diff)
downloadruby-b17ae8889444bc3437ec88265cf9d90c9064def4.tar.gz
[flori/json] skip TruffleRuby
https://github.com/flori/json/commit/bab704eb49
Diffstat (limited to 'test/json/json_parser_test.rb')
-rw-r--r--test/json/json_parser_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/json/json_parser_test.rb b/test/json/json_parser_test.rb
index 220826a426..cc9a74a95b 100644
--- a/test/json/json_parser_test.rb
+++ b/test/json/json_parser_test.rb
@@ -24,6 +24,9 @@ class JSONParserTest < Test::Unit::TestCase
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) {