Handrolled Parser #737
Annotations
8 errors
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_parser_test.rb#L492
<[1, 2]> expected but was
<false>.
|
Run rake test JSON_COMPACT=1:
test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for false:FalseClass
assert_equal([1,2], res.data)
^^^^^
/Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
|
Run rake test JSON_COMPACT=1:
test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment
"key2":"value2"'
/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_parser_test.rb:368:in `test_parse_comments'
|
Run rake test JSON_COMPACT=1:
test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was
<"expected ',' or '}' after object value">.
|
Run rake test JSON_COMPACT=1:
test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was
<Hash>.
|
Run rake test JSON_COMPACT=1:
test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:42:47.11494 +0000]> expected but was
<["2025-01-15T17:42:47+0000"]>.
diff:
- [2025-01-15 17:42:47.11494 +0000]
? ^ -------
+ ["2025-01-15T17:42:47+0000"]
? + ^ +
|
Run rake test JSON_COMPACT=1
Process completed with exit code 1.
|
Loading