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 `parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:872:in `JSON'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:185:in `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 `parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:25:in `[]'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
Run rake test JSON_COMPACT=1:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
tempfile.close!
^^^^^^^
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `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 `parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:252:in `load_file'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:229:in `public_send'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:229:in `block in test_load_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:248:in `block in temp_file_containing'
/Users/runner/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:245:in `temp_file_containing'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:228:in `test_load_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:189:in `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 `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/lib/json/common.rb:263:in `load_file!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:229:in `public_send'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:229:in `block in test_load_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:248:in `block in temp_file_containing'
/Users/runner/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:245:in `temp_file_containing'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:228:in `test_load_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:193:in `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 `parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:252:in `load_file'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:235:in `public_send'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:235:in `block in test_load_file_with_option_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:248:in `block in temp_file_containing'
/Users/runner/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:245:in `temp_file_containing'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:234:in `test_load_file_with_option_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:197:in `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 `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/lib/json/common.rb:263:in `load_file!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:235:in `public_send'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:235:in `block in test_load_file_with_option_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:248:in `block in temp_file_containing'
/Users/runner/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:245:in `temp_file_containing'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:234:in `test_load_file_with_option_shared'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:201:in `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 `parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in `parse'
/Users/runner/work/json/json/test/json/json_generator_test.rb:136:in `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 `parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in `parse'
/Users/runner/work/json/json/test/json/json_generator_test.rb:52:in `test_generate'
|
Loading