mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
e42df781d9
commit
b17ae88894
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue