Skip to content

Commit

Permalink
tests 2
Browse files Browse the repository at this point in the history
  • Loading branch information
trobro committed Oct 14, 2023
1 parent ebfdfc9 commit f4696ed
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/pass5_result.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
bigDouble: 9.223372036854776e+58
bigInt: 9.223372036854776e+58
}
4 changes: 4 additions & 0 deletions assets/pass5_result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"bigDouble": 9.223372036854776e+58,
"bigInt": 9.223372036854776e+58
}
4 changes: 4 additions & 0 deletions assets/pass5_test.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
bigDouble: 92233720368547758073829419051489548484843823585675828488686.0
bigInt: 92233720368547758073829419051489548484843823585675828488686
}
8 changes: 8 additions & 0 deletions assets/pass6_result.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
a: 1
b: 2
c: 3
d: 4
e: 5
f: 6
}
8 changes: 8 additions & 0 deletions assets/pass6_result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"a": 1,
"b": 2,
"c": 3,
"d": 4,
"e": 5,
"f": 6
}
1 change: 1 addition & 0 deletions assets/pass6_test.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a: 1, b: 2,c:3,'d' /*cm1*/ : 4, /*cm2 */ e: /* cm3*/ 5 /* cm 4 */ f : 6
7 changes: 7 additions & 0 deletions assets/root_result.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
database:
{
host: 127.0.0.1
port: 555
}
}
6 changes: 6 additions & 0 deletions assets/root_result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"database": {
"host": "127.0.0.1",
"port": 555
}
}
6 changes: 6 additions & 0 deletions assets/root_test.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// a object with the root braces omitted
database:
{
host: 127.0.0.1
port: 555
}
3 changes: 3 additions & 0 deletions assets/testlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ pass1_test.json
pass2_test.json
pass3_test.json
pass4_test.json
pass5_test.hjson
pass6_test.hjson
passSingle_test.hjson
root_test.hjson
stringify1_test.hjson
strings2_test.hjson
strings_test.hjson
Expand Down

0 comments on commit f4696ed

Please sign in to comment.