Handrolled Parser #724
ci.yml
on: pull_request
ruby-versions
/
Generate Ruby versions
3s
Ruby memcheck
33s
Matrix: host
Annotations
320 errors and 4 warnings
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:14.741685 +0000> expected but was
<{"json_class"=>"Time", "n"=>741685000, "s"=>1736953994}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:14+00:00 ((2460691j,54794s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>14,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:14+00:00 ((2460691j,54794s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>14,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
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 `ensure in test_load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:16.884432 +0000> expected but was
<{"json_class"=>"Time", "n"=>884432000, "s"=>1736953996}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:16+00:00 ((2460691j,54796s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>16,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:16+00:00 ((2460691j,54796s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>16,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:18.526598 +0000> expected but was
<{"json_class"=>"Time", "n"=>526598000, "s"=>1736953998}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:18+00:00 ((2460691j,54798s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>18,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:18+00:00 ((2460691j,54798s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>18,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:19.783874714 +0000> expected but was
<{"json_class"=>"Time", "n"=>783874714, "s"=>1736953999}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:19+00:00 ((2460691j,54799s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>19,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:19+00:00 ((2460691j,54799s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>19,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:872:in `JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:25:in `[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:21.623936 +0000> expected but was
<{"json_class"=>"Time", "n"=>623936000, "s"=>1736954001}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:21+00:00 ((2460691j,54801s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>21,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:21+00:00 ((2460691j,54801s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>21,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:21.87858 +0000> expected but was
<{"json_class"=>"Time", "n"=>878580000, "s"=>1736954001}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:21+00:00 ((2460691j,54801s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>21,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:21+00:00 ((2460691j,54801s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>21,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:23.448574 +0000> expected but was
<{"json_class"=>"Time", "n"=>448574000, "s"=>1736954003}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:23+00:00 ((2460691j,54803s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>23,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:23+00:00 ((2460691j,54803s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>23,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:26.735253496 +0000> expected but was
<{"json_class"=>"Time", "n"=>735253496, "s"=>1736954006}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:26+00:00 ((2460691j,54806s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>26,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:26+00:00 ((2460691j,54806s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>26,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON.parse'
/home/runner/work/json/json/lib/json/common.rb:872:in 'Kernel#JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in 'JSONCommonInterfaceTest#test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON.parse'
/home/runner/work/json/json/lib/json/common.rb:25:in 'JSON.[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in 'JSONCommonInterfaceTest#test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method 'close!' for nil
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in 'JSONCommonInterfaceTest#test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:28.332825263 +0000> expected but was
<{"json_class"=>"Time", "n"=>332825263, "s"=>1736954008}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:28+00:00 ((2460691j,54808s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>28,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:28+00:00 ((2460691j,54808s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>28,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:872:in `JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:25:in `[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:26.951932 +0000> expected but was
<{"json_class"=>"Time", "n"=>951932000, "s"=>1736954006}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:26+00:00 ((2460691j,54806s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>26,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:26+00:00 ((2460691j,54806s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>26,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:29.755098148 +0000> expected but was
<{"json_class"=>"Time", "n"=>755098148, "s"=>1736954009}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:29+00:00 ((2460691j,54809s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>29,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:29+00:00 ((2460691j,54809s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>29,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:872:in `JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:25:in `[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:29.791991 +0000> expected but was
<{"json_class"=>"Time", "n"=>791991000, "s"=>1736954009}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:29+00:00 ((2460691j,54809s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>29,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:29+00:00 ((2460691j,54809s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>29,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:31.924484 +0000> expected but was
<{"json_class"=>"Time", "n"=>924484000, "s"=>1736954011}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:31+00:00 ((2460691j,54811s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>31,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:31+00:00 ((2460691j,54811s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>31,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
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 `ensure in test_load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:34.608239932 +0000> expected but was
<{"json_class"=>"Time", "n"=>608239932, "s"=>1736954014}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:34+00:00 ((2460691j,54814s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>34,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:34+00:00 ((2460691j,54814s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>34,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:872:in `JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:25:in `[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:37.340609063 +0000> expected but was
<{"json_class"=>"Time", "n"=>340609063, "s"=>1736954017}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:37+00:00 ((2460691j,54817s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>37,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:37+00:00 ((2460691j,54817s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>37,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:872:in `JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:25:in `[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:36.302043 +0000> expected but was
<{"json_class"=>"Time", "n"=>302043000, "s"=>1736954016}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:36+00:00 ((2460691j,54816s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>36,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:36+00:00 ((2460691j,54816s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>36,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:35.662687 +0000> expected but was
<{"json_class"=>"Time", "n"=>662687000, "s"=>1736954015}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:35+00:00 ((2460691j,54815s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>35,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:35+00:00 ((2460691j,54815s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>35,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:37.364849781 +0000> expected but was
<{"json_class"=>"Time", "n"=>364849781, "s"=>1736954017}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:37+00:00 ((2460691j,54817s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>37,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:37+00:00 ((2460691j,54817s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>37,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:872:in `JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:25:in `[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
tempfile.close!
^^^^^^^
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:36.65822 +0000> expected but was
<{"json_class"=>"Time", "n"=>658220000, "s"=>1736954016}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1302:in `rb_exc_raise'
exception.c:29:in `rb_exc_raise'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1233:in `block in rb_protect'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `capture_exception'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `rb_protect'
exception.c:46:in `rb_protect'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext_ruby.rb:38:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:221:in `parse'
/Users/runner/work/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:36+00:00 ((2460691j,54816s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>36,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:36+00:00 ((2460691j,54816s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>36,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1302:in `rb_exc_raise'
exception.c:29:in `rb_exc_raise'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1233:in `block in rb_protect'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `capture_exception'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `rb_protect'
exception.c:46:in `rb_protect'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext_ruby.rb:38: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'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1302:in `rb_exc_raise'
exception.c:29:in `rb_exc_raise'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1233:in `block in rb_protect'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `capture_exception'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `rb_protect'
exception.c:46:in `rb_protect'
/Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext_ruby.rb:38: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'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:44.904917 +0000> expected but was
<{"json_class"=>"Time", "n"=>904917000, "s"=>1736954024}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:44+00:00 ((2460691j,54824s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>44,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:44+00:00 ((2460691j,54824s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>44,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:13:44.537828 +0000> expected but was
<{"json_class"=>"Time", "n"=>537828000, "s"=>1736954024}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:13:44+00:00 ((2460691j,54824s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>13,
"S"=>44,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:13:44+00:00 ((2460691j,54824s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>13,
+ "S"=>44,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:14:12.777309 +0000> expected but was
<{"json_class"=>"Time", "n"=>777309000, "s"=>1736954052}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/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_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:14:12+00:00 ((2460691j,54852s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>14,
"S"=>12,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:14:12+00:00 ((2460691j,54852s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>14,
+ "S"=>12,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/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'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/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'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:14:14.572205211 +0000> expected but was
<{"json_class"=>"Time", "n"=>572205211, "s"=>1736954054}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:14:14+00:00 ((2460691j,54854s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>14,
"S"=>14,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:14:14+00:00 ((2460691j,54854s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>14,
+ "S"=>14,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON.parse'
/home/runner/work/json/json/lib/json/common.rb:872:in 'Kernel#JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in 'JSONCommonInterfaceTest#test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
/home/runner/work/json/json/lib/json/common.rb:221:in 'JSON.parse'
/home/runner/work/json/json/lib/json/common.rb:25:in 'JSON.[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in 'JSONCommonInterfaceTest#test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method 'close!' for nil
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in 'JSONCommonInterfaceTest#test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:14:32.5553357 +0000> expected but was
<{"json_class"=>"Time", "n"=>555335700, "s"=>1736954072}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON#parse'
D:/a/json/json/test/json/json_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:14:32+00:00 ((2460691j,54872s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>14,
"S"=>32,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:14:32+00:00 ((2460691j,54872s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>14,
+ "S"=>32,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON.parse'
D:/a/json/json/lib/json/common.rb:872:in 'Kernel#JSON'
D:/a/json/json/test/json/json_common_interface_test.rb:185:in 'JSONCommonInterfaceTest#test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON.parse'
D:/a/json/json/lib/json/common.rb:25:in 'JSON.[]'
D:/a/json/json/test/json/json_common_interface_test.rb:48:in 'JSONCommonInterfaceTest#test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method 'close!' for nil
D:/a/json/json/test/json/json_common_interface_test.rb:108:in 'JSONCommonInterfaceTest#test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:14:45.4090955 +0000> expected but was
<{"json_class"=>"Time", "n"=>409095500, "s"=>1736954085}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON#parse'
D:/a/json/json/test/json/json_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:14:45+00:00 ((2460691j,54885s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>14,
"S"=>45,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:14:45+00:00 ((2460691j,54885s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>14,
+ "S"=>45,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON.parse'
D:/a/json/json/lib/json/common.rb:872:in 'Kernel#JSON'
D:/a/json/json/test/json/json_common_interface_test.rb:185:in 'JSONCommonInterfaceTest#test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON.parse'
D:/a/json/json/lib/json/common.rb:25:in 'JSON.[]'
D:/a/json/json/test/json/json_common_interface_test.rb:48:in 'JSONCommonInterfaceTest#test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method 'close!' for nil
D:/a/json/json/test/json/json_common_interface_test.rb:108:in 'JSONCommonInterfaceTest#test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:14:54.177227299 +0000> expected but was
<{"json_class"=>"Time", "n"=>177227299, "s"=>1736954094}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1302:in `rb_exc_raise'
exception.c:29:in `rb_exc_raise'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1233:in `block in rb_protect'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `capture_exception'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `rb_protect'
exception.c:46:in `rb_protect'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext_ruby.rb:38:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:14:54+00:00 ((2460691j,54894s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>14,
"S"=>54,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:14:54+00:00 ((2460691j,54894s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>14,
+ "S"=>54,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1302:in `rb_exc_raise'
exception.c:29:in `rb_exc_raise'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1233:in `block in rb_protect'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `capture_exception'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `rb_protect'
exception.c:46:in `rb_protect'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext_ruby.rb:38:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:872:in `JSON'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1302:in `rb_exc_raise'
exception.c:29:in `rb_exc_raise'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1233:in `block in rb_protect'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `capture_exception'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `rb_protect'
exception.c:46:in `rb_protect'
/home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext_ruby.rb:38:in `parse'
/home/runner/work/json/json/lib/json/common.rb:221:in `parse'
/home/runner/work/json/json/lib/json/common.rb:25:in `[]'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
/home/runner/work/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:14:57.2889972 +0000> expected but was
<{"json_class"=>"Time", "n"=>288997200, "s"=>1736954097}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:14:57+00:00 ((2460691j,54897s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>14,
"S"=>57,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:14:57+00:00 ((2460691j,54897s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>14,
+ "S"=>57,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:872:in `JSON'
D:/a/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:25:in `[]'
D:/a/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
D:/a/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
D:/a/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:15:13.0190149 +0000> expected but was
<{"json_class"=>"Time", "n"=>19014900, "s"=>1736954113}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar" => true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON#parse'
D:/a/json/json/test/json/json_addition_test.rb:130:in 'JSONAdditionTest#test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:15:13+00:00 ((2460691j,54913s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>15,
"S"=>13,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:15:13+00:00 ((2460691j,54913s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>15,
+ "S"=>13,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON.parse'
D:/a/json/json/lib/json/common.rb:872:in 'Kernel#JSON'
D:/a/json/json/test/json/json_common_interface_test.rb:185:in 'JSONCommonInterfaceTest#test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse'
D:/a/json/json/lib/json/common.rb:221:in 'JSON.parse'
D:/a/json/json/lib/json/common.rb:25:in 'JSON.[]'
D:/a/json/json/test/json/json_common_interface_test.rb:48:in 'JSONCommonInterfaceTest#test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method 'close!' for nil
D:/a/json/json/test/json/json_common_interface_test.rb:108:in 'JSONCommonInterfaceTest#test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:15:37.3157696 +0000> expected but was
<{"json_class"=>"Time", "n"=>315769600, "s"=>1736954137}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:15:37+00:00 ((2460691j,54937s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>15,
"S"=>37,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:15:37+00:00 ((2460691j,54937s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>15,
+ "S"=>37,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:872:in `JSON'
D:/a/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:25:in `[]'
D:/a/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
tempfile.close!
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:15:46.2908444 +0000> expected but was
<{"json_class"=>"Time", "n"=>290844400, "s"=>1736954146}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:15:46+00:00 ((2460691j,54946s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>15,
"S"=>46,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:15:46+00:00 ((2460691j,54946s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>15,
+ "S"=>46,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:872:in `JSON'
D:/a/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:25:in `[]'
D:/a/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
D:/a/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
D:/a/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:15:45.350349 +0000> expected but was
<{"json_class"=>"Time", "n"=>350349000, "s"=>1736954145}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:15:45+00:00 ((2460691j,54945s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>15,
"S"=>45,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:15:45+00:00 ((2460691j,54945s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>15,
+ "S"=>45,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:872:in `JSON'
D:/a/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:25:in `[]'
D:/a/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil
D:/a/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
D:/a/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
Failure:
test/json/json_addition_test.rb#L189
<0.3141e1> expected but was
<{"b"=>"27:0.3141e1", "json_class"=>"BigDecimal"}>.
|
|
Failure:
test/json/json_addition_test.rb#L138
<2025-01-15 15:17:33.7236548 +0000> expected but was
<{"json_class"=>"Time", "n"=>723654800, "s"=>1736954253}>.
|
|
Failure:
test/json/json_addition_test.rb#L197
<#<OpenStruct foo={"bar"=>true}>> expected but was
<{"json_class"=>"OpenStruct", "t"=>{"foo"=>{"bar"=>true}}}>.
|
|
Failure:
test/json/json_addition_test.rb#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
|
Error:
test/json/json_addition_test.rb#L130
JSON::ParserError: invalid number: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/test/json/json_addition_test.rb:130:in `test_raw_strings'
|
|
Failure:
test/json/json_addition_test.rb#L202
<#<Set: {:a, :b, :c}>> expected but was
<{"a"=>
[{"json_class"=>"Symbol", "s"=>"a"},
{"json_class"=>"Symbol", "s"=>"b"},
{"json_class"=>"Symbol", "s"=>"c"}],
"json_class"=>"Set"}>.
diff:
- #<Set: {:a, :b, :c}>
+ {"a"=>
+ [{"json_class"=>"Symbol", "s"=>"a"},
+ {"json_class"=>"Symbol", "s"=>"b"},
+ {"json_class"=>"Symbol", "s"=>"c"}],
+ "json_class"=>"Set"}
|
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:17:33+00:00 ((2460691j,55053s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>17,
"S"=>33,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:17:33+00:00 ((2460691j,55053s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>17,
+ "S"=>33,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
|
Error:
test/json/json_common_interface_test.rb#L185
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:872:in `JSON'
D:/a/json/json/test/json/json_common_interface_test.rb:185:in `test_JSON'
|
|
Error:
test/json/json_common_interface_test.rb#L48
JSON::ParserError: invalid number: 0.001}
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:221:in `parse'
D:/a/json/json/lib/json/common.rb:25:in `[]'
D:/a/json/json/test/json/json_common_interface_test.rb:48:in `test_index'
|
|
Error:
test/json/json_common_interface_test.rb#L108
NoMethodError: undefined method `close!' for nil:NilClass
D:/a/json/json/test/json/json_common_interface_test.rb:108:in `ensure in test_load'
D:/a/json/json/test/json/json_common_interface_test.rb:108:in `test_load'
|
|
ruby-versions / Generate Ruby versions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
Ruby memcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
ubuntu-latest jruby-9.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
ubuntu-latest truffleruby-head
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|