Handrolled Parser #722
ci.yml
on: pull_request
ruby-versions
/
Generate Ruby versions
2s
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:06:06.007112 +0000> expected but was
<{"json_class"=>"Time", "n"=>7112000, "s"=>1736953566}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:06+00:00 ((2460691j,54366s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>6,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:06+00:00 ((2460691j,54366s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>6,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in 'JSON.load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in 'JSON.parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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:06:08.893074725 +0000> expected but was
<{"json_class"=>"Time", "n"=>893074725, "s"=>1736953568}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:08+00:00 ((2460691j,54368s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>8,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:08+00:00 ((2460691j,54368s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>8,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:07.460631 +0000> expected but was
<{"json_class"=>"Time", "n"=>460631000, "s"=>1736953567}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:07+00:00 ((2460691j,54367s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>7,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:07+00:00 ((2460691j,54367s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>7,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:08.893413 +0000> expected but was
<{"json_class"=>"Time", "n"=>893413000, "s"=>1736953568}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:08+00:00 ((2460691j,54368s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>8,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:08+00:00 ((2460691j,54368s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>8,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:08.589464 +0000> expected but was
<{"json_class"=>"Time", "n"=>589464000, "s"=>1736953568}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:08+00:00 ((2460691j,54368s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>8,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:08+00:00 ((2460691j,54368s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>8,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:15.592732214 +0000> expected but was
<{"json_class"=>"Time", "n"=>592732214, "s"=>1736953575}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:15+00:00 ((2460691j,54375s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>15,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:15+00:00 ((2460691j,54375s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>15,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:15.430356 +0000> expected but was
<{"json_class"=>"Time", "n"=>430356000, "s"=>1736953575}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:15+00:00 ((2460691j,54375s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>15,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:15+00:00 ((2460691j,54375s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>15,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:17.1016275 +0000> expected but was
<{"json_class"=>"Time", "n"=>101627500, "s"=>1736953577}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:17+00:00 ((2460691j,54377s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>17,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:17+00:00 ((2460691j,54377s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>17,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:16.370783 +0000> expected but was
<{"json_class"=>"Time", "n"=>370783000, "s"=>1736953576}>.
|
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}>.
|
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:06:16.721454858 +0000> expected but was
<{"json_class"=>"Time", "n"=>721454858, "s"=>1736953576}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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#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#L184
<2/9> expected but was
<{"d"=>9, "json_class"=>"Rational", "n"=>2}>.
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:06:16+00:00 ((2460691j,54376s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>16,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:16+00:00 ((2460691j,54376s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>16,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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"}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Failure:
test/json/json_addition_test.rb#L174
<#<DateTime: 2025-01-15T15:06:16+00:00 ((2460691j,54376s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>16,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:16+00:00 ((2460691j,54376s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:18.193298968 +0000> expected but was
<{"json_class"=>"Time", "n"=>193298968, "s"=>1736953578}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:18+00:00 ((2460691j,54378s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>18,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:18+00:00 ((2460691j,54378s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:19.537545738 +0000> expected but was
<{"json_class"=>"Time", "n"=>537545738, "s"=>1736953579}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:19+00:00 ((2460691j,54379s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>19,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:19+00:00 ((2460691j,54379s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in 'JSON.load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/home/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
/home/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
/home/runner/work/json/json/lib/json/common.rb:241:in 'JSON.parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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:06:23.74096 +0000> expected but was
<{"json_class"=>"Time", "n"=>740960000, "s"=>1736953583}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:23+00:00 ((2460691j,54383s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>23,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:23+00:00 ((2460691j,54383s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in 'JSON.load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in 'JSON.parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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:06:24.832499 +0000> expected but was
<{"json_class"=>"Time", "n"=>832499000, "s"=>1736953584}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:24+00:00 ((2460691j,54384s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>24,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:24+00:00 ((2460691j,54384s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>24,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:06.934175 +0000> expected but was
<{"json_class"=>"Time", "n"=>934175000, "s"=>1736953566}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:06+00:00 ((2460691j,54366s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>6,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:06+00:00 ((2460691j,54366s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>6,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:23.027991 +0000> expected but was
<{"json_class"=>"Time", "n"=>27991000, "s"=>1736953583}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:23+00:00 ((2460691j,54383s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>23,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:23+00:00 ((2460691j,54383s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in 'JSON.load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in 'JSON.parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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:06:28.12165 +0000> expected but was
<{"json_class"=>"Time", "n"=>121650000, "s"=>1736953588}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:28+00:00 ((2460691j,54388s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>28,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:28+00:00 ((2460691j,54388s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:29.664618862 +0000> expected but was
<{"json_class"=>"Time", "n"=>664618862, "s"=>1736953589}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:29+00:00 ((2460691j,54389s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>29,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:29+00:00 ((2460691j,54389s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:04.400792 +0000> expected but was
<{"json_class"=>"Time", "n"=>400792000, "s"=>1736953564}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:04+00:00 ((2460691j,54364s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>4,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:04+00:00 ((2460691j,54364s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>4,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in 'JSON.load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in 'JSON.parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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:06:19.744433 +0000> expected but was
<{"json_class"=>"Time", "n"=>744433000, "s"=>1736953579}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:19+00:00 ((2460691j,54379s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>19,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:19+00:00 ((2460691j,54379s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:06:19.11186 +0000> expected but was
<{"json_class"=>"Time", "n"=>111860000, "s"=>1736953579}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:19+00:00 ((2460691j,54379s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>19,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:19+00:00 ((2460691j,54379s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
<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#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
<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#L81
JSON::ParserError: unexpected character
/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/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
<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:06:59.7238221 +0000> expected but was
<{"json_class"=>"Time", "n"=>723822100, "s"=>1736953619}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:06:59+00:00 ((2460691j,54419s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>6,
"S"=>59,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:06:59+00:00 ((2460691j,54419s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>6,
+ "S"=>59,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
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:735:in 'JSON.load'
D:/a/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
D:/a/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
D:/a/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
D:/a/json/json/lib/json/common.rb:241:in 'JSON.parse!'
D:/a/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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:07:03.5900957 +0000> expected but was
<{"json_class"=>"Time", "n"=>590095700, "s"=>1736953623}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:07:03+00:00 ((2460691j,54423s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>7,
"S"=>3,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:07:03+00:00 ((2460691j,54423s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>7,
+ "S"=>3,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
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:735:in 'JSON.load'
D:/a/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
D:/a/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
D:/a/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
D:/a/json/json/lib/json/common.rb:241:in 'JSON.parse!'
D:/a/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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:07:06.565232064 +0000> expected but was
<{"json_class"=>"Time", "n"=>565232064, "s"=>1736953626}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:07:06+00:00 ((2460691j,54426s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>7,
"S"=>6,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:07:06+00:00 ((2460691j,54426s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>7,
+ "S"=>6,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in 'JSON.load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/home/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
/home/runner/work/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
/home/runner/work/json/json/lib/json/common.rb:241:in 'JSON.parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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:07:13.777777 +0000> expected but was
<{"json_class"=>"Time", "n"=>777777000, "s"=>1736953633}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:07:13+00:00 ((2460691j,54433s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>7,
"S"=>13,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:07:13+00:00 ((2460691j,54433s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>7,
+ "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#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/ext.rb:27:in `parse'
/Users/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/Users/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:07:44.796316 +0000> expected but was
<{"json_class"=>"Time", "n"=>796316000, "s"=>1736953664}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:07:44+00:00 ((2460691j,54464s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>7,
"S"=>44,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:07:44+00:00 ((2460691j,54464s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>7,
+ "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#L132
JSON::ParserError: unexpected character
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:735:in `load'
D:/a/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/common.rb:241:in `parse!'
D:/a/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:07:47.8306268 +0000> expected but was
<{"json_class"=>"Time", "n"=>830626800, "s"=>1736953667}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:07:47+00:00 ((2460691j,54467s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>7,
"S"=>47,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:07:47+00:00 ((2460691j,54467s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>7,
+ "S"=>47,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
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:735:in `load'
D:/a/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/common.rb:241:in `parse!'
D:/a/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:07:42.653194334 +0000> expected but was
<{"json_class"=>"Time", "n"=>653194334, "s"=>1736953662}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:07:43+00:00 ((2460691j,54463s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>7,
"S"=>43,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:07:43+00:00 ((2460691j,54463s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>7,
+ "S"=>43,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
/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:735:in `load'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
<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#L77
JSON::ParserError: expected ',' or ']' after array value
/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_common_interface_test.rb:77:in `test_parse'
<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#L81
JSON::ParserError: unexpected character
/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/ext.rb:27:in `parse'
/home/runner/work/json/json/lib/json/common.rb:241:in `parse!'
/home/runner/work/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
<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:08:06.6965414 +0000> expected but was
<{"json_class"=>"Time", "n"=>696541400, "s"=>1736953686}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:08:06+00:00 ((2460691j,54486s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>8,
"S"=>6,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:08:06+00:00 ((2460691j,54486s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>8,
+ "S"=>6,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
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:735:in `load'
D:/a/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/common.rb:241:in `parse!'
D:/a/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:08:21.9326432 +0000> expected but was
<{"json_class"=>"Time", "n"=>932643200, "s"=>1736953701}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:08:21+00:00 ((2460691j,54501s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>8,
"S"=>21,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:08:21+00:00 ((2460691j,54501s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>8,
+ "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#L132
JSON::ParserError: unexpected character
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:735:in `load'
D:/a/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/common.rb:241:in `parse!'
D:/a/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:08:43.9222591 +0000> expected but was
<{"json_class"=>"Time", "n"=>922259100, "s"=>1736953723}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:08:43+00:00 ((2460691j,54523s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>8,
"S"=>43,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:08:43+00:00 ((2460691j,54523s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>8,
+ "S"=>43,
+ "d"=>15,
+ "json_class"=>"DateTime",
+ "m"=>1,
+ "of"=>"0/1",
+ "sg"=>2299161.0,
+ "y"=>2025}
|
Error:
test/json/json_common_interface_test.rb#L132
JSON::ParserError: unexpected character
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:735:in `load'
D:/a/json/json/test/json/json_common_interface_test.rb:132:in `test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
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_common_interface_test.rb:77:in `test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/ext.rb:27:in `parse'
D:/a/json/json/lib/json/common.rb:241:in `parse!'
D:/a/json/json/test/json/json_common_interface_test.rb:81:in `test_parse_bang'
|
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:08:57.7072059 +0000> expected but was
<{"json_class"=>"Time", "n"=>707205900, "s"=>1736953737}>.
|
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}>.
|
Failure:
test/json/json_addition_test.rb#L131
<"\x00\x01\x02\x03\x04\x05\x06\a\b\t\n" +
"\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\e\x1C\x1D\x1E\x1F !\"\#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"> expected but was
<{"json_class"=>"String",
"raw"=>
[0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255]}>.
|
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:08:57+00:00 ((2460691j,54537s,0n),+0s,2299161j)>> expected but was
<{"H"=>15,
"M"=>8,
"S"=>57,
"d"=>15,
"json_class"=>"DateTime",
"m"=>1,
"of"=>"0/1",
"sg"=>2299161.0,
"y"=>2025}>.
diff:
- #<DateTime: 2025-01-15T15:08:57+00:00 ((2460691j,54537s,0n),+0s,2299161j)>
+ {"H"=>15,
+ "M"=>8,
+ "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#L132
JSON::ParserError: unexpected character
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:735:in 'JSON.load'
D:/a/json/json/test/json/json_common_interface_test.rb:132:in 'JSONCommonInterfaceTest#test_load_with_options'
|
Error:
test/json/json_common_interface_test.rb#L77
JSON::ParserError: expected ',' or ']' after array value
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_common_interface_test.rb:77:in 'JSONCommonInterfaceTest#test_parse'
|
Error:
test/json/json_common_interface_test.rb#L81
JSON::ParserError: unexpected character
D:/a/json/json/lib/json/ext.rb:27:in 'JSON::Ext::ParserConfig#parse'
D:/a/json/json/lib/json/ext.rb:27:in 'JSON::Ext::Parser#parse'
D:/a/json/json/lib/json/common.rb:241:in 'JSON.parse!'
D:/a/json/json/test/json/json_common_interface_test.rb:81:in 'JSONCommonInterfaceTest#test_parse_bang'
|
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
|