✅ added more tests from recent nst's JSONTestSuite
This commit is contained in:
parent
567fe9b7a0
commit
4639bb2c8f
321 changed files with 813 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
[123.456e-789]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0.4e00669999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999969999999006]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[-1e+9999]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[1.5e+9999]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[-123123e100000]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[123123e100000]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[123e-10000000]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[-123123123123123123123123123123]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[100000000000000000000]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[-237462374673276894279832749832423479823246327846]
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"\uDFAA":0}
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\uDADA"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\uD888\u1234"]
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
["譌・ム淫"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["<22><><EFBFBD>"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\uD800\n"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\uDd1ea"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\uD800\uD800\n"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\ud800"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\ud800abc"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["<22>"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\uDd1e\uD834"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["И"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["\uDFAA"]
|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]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
|
||||
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
|
|
@ -0,0 +1 @@
|
|||
[1 true]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[a蘊
|
||||
|
|
@ -0,0 +1 @@
|
|||
["": 1]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[""],
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_array_comma_and_number.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_array_comma_and_number.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[,1]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_array_double_comma.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_array_double_comma.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[1,,2]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["x",,]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["x"]]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["",]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["x"
|
||||
|
|
@ -0,0 +1 @@
|
|||
[x
|
||||
|
|
@ -0,0 +1 @@
|
|||
[3[4]]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[<EFBFBD>]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[1:2]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_array_just_comma.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_array_just_comma.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[,]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_array_just_minus.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_array_just_minus.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[-]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[ , ""]
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
["a",
|
||||
4
|
||||
,1,
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_array_number_and_comma.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_array_number_and_comma.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[1,]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[1,,]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["a"\f]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_array_star_inside.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_array_star_inside.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[*]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[""
|
||||
|
|
@ -0,0 +1 @@
|
|||
[1,
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[1,
|
||||
1
|
||||
,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
[{}
|
||||
|
|
@ -0,0 +1 @@
|
|||
[fals]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[nul]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[tru]
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
[++1234]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_+1.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_+1.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[+1]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_+Inf.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_+Inf.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[+Inf]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_-01.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_-01.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[-01]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_-1.0..json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_-1.0..json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[-1.0.]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_-2..json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_-2..json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[-2.]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_-NaN.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_-NaN.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[-NaN]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[.-1]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_.2e-3.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_.2e-3.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[.2e-3]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_0.1.2.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_0.1.2.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[0.1.2]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0.3e+]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0.3e]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0.e1]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0E+]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_0_capital_E.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_0_capital_E.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[0E]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0e+]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0e]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_1.0e+.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_1.0e+.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[1.0e+]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_1.0e-.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_1.0e-.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[1.0e-]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_1.0e.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_1.0e.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[1.0e]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_1_000.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_1_000.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[1 000.0]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_1eE2.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_1eE2.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[1eE2]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_2.e+3.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_2.e+3.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[2.e+3]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_2.e-3.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_2.e-3.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[2.e-3]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_2.e3.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_2.e3.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[2.e3]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[9.e+]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_Inf.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_Inf.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[Inf]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_NaN.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_NaN.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[NaN]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[1]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[1+2]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0x1]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0x42]
|
||||
1
test/data/nst_json_testsuite2/test_parsing/n_number_infinity.json
Executable file
1
test/data/nst_json_testsuite2/test_parsing/n_number_infinity.json
Executable file
|
|
@ -0,0 +1 @@
|
|||
[Infinity]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[0e+-1]
|
||||
|
|
@ -0,0 +1 @@
|
|||
[-123.123foo]
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue