Skip to content

Commit a8631be

Browse files
committed
add tests
1 parent 912581b commit a8631be

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

assets/failKey4_test.hjson

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
# invalid name
3+
: 0
4+
}

assets/failMLStr1_test.hjson

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
# invalid multiline string
3+
ml: '''

assets/failStr7_test.hjson

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
# invalid \u char
3+
char: "\uxxxx"
4+
}

assets/testlist.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ fail8_test.json
3131
failKey1_test.hjson
3232
failKey2_test.hjson
3333
failKey3_test.hjson
34+
failKey4_test.hjson
35+
failMLStr1_test.hjson
3436
failObj1_test.hjson
3537
failObj2_test.hjson
3638
failObj3_test.hjson
@@ -40,6 +42,7 @@ failStr3_test.hjson
4042
failStr4_test.hjson
4143
failStr5_test.hjson
4244
failStr6_test.hjson
45+
failStr7_test.hjson
4346
kan_test.hjson
4447
keys_test.hjson
4548
oa_test.hjson

0 commit comments

Comments
 (0)