Handrolled Parser #743
Annotations
10 errors
Run rake test JSON_COMPACT=1:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: expected ',' or '}' after object value, got: '\u0000\u001f","h":1000.0,"i":0.0'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON.parse'
/Users/runner/work/json/json/lib/json/common.rb:872:in 'Kernel#JSON'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:185:in 'JSONCommonInterfaceTest#test_JSON'
|
Run rake test JSON_COMPACT=1:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: expected ',' or '}' after object value, got: '\u0000\u001f","h":1000.0,"i":0.0'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON.parse'
/Users/runner/work/json/json/lib/json/common.rb:25:in 'JSON.[]'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:48:in 'JSONCommonInterfaceTest#test_index'
|
Run rake test JSON_COMPACT=1:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method 'close!' for nil
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:108:in 'JSONCommonInterfaceTest#test_load'
|
Run rake test JSON_COMPACT=1:
test/json/json_common_interface_test.rb#L189
JSON::ParserError: expected ',' or '}' after object value, got: '\u0000\u001f","h":1000.0,"i":0.0'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON.parse'
/Users/runner/work/json/json/lib/json/common.rb:252:in 'JSON.load_file'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:229:in 'Kernel#public_send'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:229:in 'block in JSONCommonInterfaceTest#test_load_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:248:in 'block in JSONCommonInterfaceTest#temp_file_containing'
/Users/runner/.rubies/ruby-head/lib/ruby/3.5.0+0/tempfile.rb:576:in 'Tempfile.create_with_filename'
/Users/runner/.rubies/ruby-head/lib/ruby/3.5.0+0/tempfile.rb:562:in 'Tempfile.create'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:245:in 'JSONCommonInterfaceTest#temp_file_containing'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:228:in 'JSONCommonInterfaceTest#test_load_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:189:in 'JSONCommonInterfaceTest#test_load_file'
|
Run rake test JSON_COMPACT=1:
test/json/json_common_interface_test.rb#L193
JSON::ParserError: expected ',' or '}' after object value, got: '\u0000\u001f","h":1000.0,"i":0.0'
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in 'JSON.parse!'
/Users/runner/work/json/json/lib/json/common.rb:263:in 'JSON.load_file!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:229:in 'Kernel#public_send'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:229:in 'block in JSONCommonInterfaceTest#test_load_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:248:in 'block in JSONCommonInterfaceTest#temp_file_containing'
/Users/runner/.rubies/ruby-head/lib/ruby/3.5.0+0/tempfile.rb:576:in 'Tempfile.create_with_filename'
/Users/runner/.rubies/ruby-head/lib/ruby/3.5.0+0/tempfile.rb:562:in 'Tempfile.create'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:245:in 'JSONCommonInterfaceTest#temp_file_containing'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:228:in 'JSONCommonInterfaceTest#test_load_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:193:in 'JSONCommonInterfaceTest#test_load_file!'
|
Run rake test JSON_COMPACT=1:
test/json/json_common_interface_test.rb#L197
JSON::ParserError: expected ',' or '}' after object value, got: '\u0000\u001f","h":1000.0,"i":0.0'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON.parse'
/Users/runner/work/json/json/lib/json/common.rb:252:in 'JSON.load_file'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:235:in 'Kernel#public_send'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:235:in 'block in JSONCommonInterfaceTest#test_load_file_with_option_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:248:in 'block in JSONCommonInterfaceTest#temp_file_containing'
/Users/runner/.rubies/ruby-head/lib/ruby/3.5.0+0/tempfile.rb:576:in 'Tempfile.create_with_filename'
/Users/runner/.rubies/ruby-head/lib/ruby/3.5.0+0/tempfile.rb:562:in 'Tempfile.create'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:245:in 'JSONCommonInterfaceTest#temp_file_containing'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:234:in 'JSONCommonInterfaceTest#test_load_file_with_option_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:197:in 'JSONCommonInterfaceTest#test_load_file_with_option'
|
Run rake test JSON_COMPACT=1:
test/json/json_common_interface_test.rb#L201
JSON::ParserError: expected ',' or '}' after object value, got: '\u0000\u001f","h":1000.0,"i":0.0'
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in 'JSON.parse!'
/Users/runner/work/json/json/lib/json/common.rb:263:in 'JSON.load_file!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:235:in 'Kernel#public_send'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:235:in 'block in JSONCommonInterfaceTest#test_load_file_with_option_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:248:in 'block in JSONCommonInterfaceTest#temp_file_containing'
/Users/runner/.rubies/ruby-head/lib/ruby/3.5.0+0/tempfile.rb:576:in 'Tempfile.create_with_filename'
/Users/runner/.rubies/ruby-head/lib/ruby/3.5.0+0/tempfile.rb:562:in 'Tempfile.create'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:245:in 'JSONCommonInterfaceTest#temp_file_containing'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:234:in 'JSONCommonInterfaceTest#test_load_file_with_option_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:201:in 'JSONCommonInterfaceTest#test_load_file_with_option!'
|
Run rake test JSON_COMPACT=1:
test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was
<"unexpected character">.
|
Run rake test JSON_COMPACT=1:
test/json/json_generator_test.rb#L136
JSON::ParserError: expected ',' or '}' after object value, got: '\u0000\u001f","h":1000.0,"i":0.0'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse'
/Users/runner/work/json/json/test/json/json_generator_test.rb:136:in 'JSONGeneratorTest#test_fast_generate'
|
Run rake test JSON_COMPACT=1:
test/json/json_generator_test.rb#L52
JSON::ParserError: expected ',' or '}' after object value, got: '\u0000\u001f","h":1000.0,"i":0.0'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse'
/Users/runner/work/json/json/test/json/json_generator_test.rb:52:in 'JSONGeneratorTest#test_generate'
|
Loading