diff --git a/test/assets/comments/charconv/pass5_result.json b/test/assets/comments/charconv/pass5_result.json index 7ce31fd..7e0be2c 100644 --- a/test/assets/comments/charconv/pass5_result.json +++ b/test/assets/comments/charconv/pass5_result.json @@ -1,4 +1,4 @@ { "bigDouble": 9.223372036854776e+58, "bigInt": 9.223372036854776e+58 -} \ No newline at end of file +} diff --git a/test/assets/comments2/charconv/pass5_result.json b/test/assets/comments2/charconv/pass5_result.json index 7ce31fd..7e0be2c 100644 --- a/test/assets/comments2/charconv/pass5_result.json +++ b/test/assets/comments2/charconv/pass5_result.json @@ -1,4 +1,4 @@ { "bigDouble": 9.223372036854776e+58, "bigInt": 9.223372036854776e+58 -} \ No newline at end of file +} diff --git a/test/assets/comments2_test.hjson b/test/assets/comments2_test.hjson index c573d16..0756a59 100644 --- a/test/assets/comments2_test.hjson +++ b/test/assets/comments2_test.hjson @@ -1,3 +1,3 @@ // before /* before2 */ 3 // after1 -// after2 \ No newline at end of file +// after2 diff --git a/test/assets/comments3/charconv/pass5_result.json b/test/assets/comments3/charconv/pass5_result.json index 7ce31fd..7e0be2c 100644 --- a/test/assets/comments3/charconv/pass5_result.json +++ b/test/assets/comments3/charconv/pass5_result.json @@ -1,4 +1,4 @@ { "bigDouble": 9.223372036854776e+58, "bigInt": 9.223372036854776e+58 -} \ No newline at end of file +} diff --git a/test/assets/comments3_test.hjson b/test/assets/comments3_test.hjson index c09eb46..a59bc4e 100644 --- a/test/assets/comments3_test.hjson +++ b/test/assets/comments3_test.hjson @@ -1,3 +1,3 @@ // before /* before2 */ a string value // still part of the string -// after2 \ No newline at end of file +// after2 diff --git a/test/assets/failJSON02_test.json b/test/assets/failJSON02_test.json index 6b7c11e..dce1699 100644 --- a/test/assets/failJSON02_test.json +++ b/test/assets/failJSON02_test.json @@ -1 +1 @@ -["Unclosed array" \ No newline at end of file +["Unclosed array" diff --git a/test/assets/failJSON05_test.json b/test/assets/failJSON05_test.json index ddf3ce3..4e140bb 100644 --- a/test/assets/failJSON05_test.json +++ b/test/assets/failJSON05_test.json @@ -1 +1 @@ -["double extra comma",,] \ No newline at end of file +["double extra comma",,] diff --git a/test/assets/failJSON06_test.json b/test/assets/failJSON06_test.json index ed91580..54c2c88 100644 --- a/test/assets/failJSON06_test.json +++ b/test/assets/failJSON06_test.json @@ -1 +1 @@ -[ , "<-- missing value"] \ No newline at end of file +[ , "<-- missing value"] diff --git a/test/assets/failJSON07_test.json b/test/assets/failJSON07_test.json index 8a96af3..ddef19b 100644 --- a/test/assets/failJSON07_test.json +++ b/test/assets/failJSON07_test.json @@ -1 +1 @@ -["Comma after the close"], \ No newline at end of file +["Comma after the close"], diff --git a/test/assets/failJSON08_test.json b/test/assets/failJSON08_test.json index b28479c..ca65a46 100644 --- a/test/assets/failJSON08_test.json +++ b/test/assets/failJSON08_test.json @@ -1 +1 @@ -["Extra close"]] \ No newline at end of file +["Extra close"]] diff --git a/test/assets/failJSON10_test.json b/test/assets/failJSON10_test.json index 5d8c004..d8bbf2e 100644 --- a/test/assets/failJSON10_test.json +++ b/test/assets/failJSON10_test.json @@ -1 +1 @@ -{"Extra value after close": true} "misplaced quoted value" \ No newline at end of file +{"Extra value after close": true} "misplaced quoted value" diff --git a/test/assets/failJSON11_test.json b/test/assets/failJSON11_test.json index 76eb95b..1b37f0e 100644 --- a/test/assets/failJSON11_test.json +++ b/test/assets/failJSON11_test.json @@ -1 +1 @@ -{"Illegal expression": 1 + 2} \ No newline at end of file +{"Illegal expression": 1 + 2} diff --git a/test/assets/failJSON12_test.json b/test/assets/failJSON12_test.json index 77580a4..d448115 100644 --- a/test/assets/failJSON12_test.json +++ b/test/assets/failJSON12_test.json @@ -1 +1 @@ -{"Illegal invocation": alert()} \ No newline at end of file +{"Illegal invocation": alert()} diff --git a/test/assets/failJSON13_test.json b/test/assets/failJSON13_test.json index 379406b..92983fe 100644 --- a/test/assets/failJSON13_test.json +++ b/test/assets/failJSON13_test.json @@ -1 +1 @@ -{"Numbers cannot have leading zeroes": 013} \ No newline at end of file +{"Numbers cannot have leading zeroes": 013} diff --git a/test/assets/failJSON14_test.json b/test/assets/failJSON14_test.json index 0ed366b..efb3a2e 100644 --- a/test/assets/failJSON14_test.json +++ b/test/assets/failJSON14_test.json @@ -1 +1 @@ -{"Numbers cannot be hex": 0x14} \ No newline at end of file +{"Numbers cannot be hex": 0x14} diff --git a/test/assets/failJSON15_test.json b/test/assets/failJSON15_test.json index fc8376b..1fb8b7f 100644 --- a/test/assets/failJSON15_test.json +++ b/test/assets/failJSON15_test.json @@ -1 +1 @@ -["Illegal backslash escape: \x15"] \ No newline at end of file +["Illegal backslash escape: \x15"] diff --git a/test/assets/failJSON16_test.json b/test/assets/failJSON16_test.json index 3fe21d4..d10078d 100644 --- a/test/assets/failJSON16_test.json +++ b/test/assets/failJSON16_test.json @@ -1 +1 @@ -[\naked] \ No newline at end of file +[\naked] diff --git a/test/assets/failJSON17_test.json b/test/assets/failJSON17_test.json index 62b9214..09bd8c3 100644 --- a/test/assets/failJSON17_test.json +++ b/test/assets/failJSON17_test.json @@ -1 +1 @@ -["Illegal backslash escape: \017"] \ No newline at end of file +["Illegal backslash escape: \017"] diff --git a/test/assets/failJSON19_test.json b/test/assets/failJSON19_test.json index 3b9c46f..4a49528 100644 --- a/test/assets/failJSON19_test.json +++ b/test/assets/failJSON19_test.json @@ -1 +1 @@ -{"Missing colon" null} \ No newline at end of file +{"Missing colon" null} diff --git a/test/assets/failJSON20_test.json b/test/assets/failJSON20_test.json index 27c1af3..14439b8 100644 --- a/test/assets/failJSON20_test.json +++ b/test/assets/failJSON20_test.json @@ -1 +1 @@ -{"Double colon":: null} \ No newline at end of file +{"Double colon":: null} diff --git a/test/assets/failJSON21_test.json b/test/assets/failJSON21_test.json index 6247457..753b4e9 100644 --- a/test/assets/failJSON21_test.json +++ b/test/assets/failJSON21_test.json @@ -1 +1 @@ -{"Comma instead of colon", null} \ No newline at end of file +{"Comma instead of colon", null} diff --git a/test/assets/failJSON22_test.json b/test/assets/failJSON22_test.json index a775258..dc62577 100644 --- a/test/assets/failJSON22_test.json +++ b/test/assets/failJSON22_test.json @@ -1 +1 @@ -["Colon instead of comma": false] \ No newline at end of file +["Colon instead of comma": false] diff --git a/test/assets/failJSON23_test.json b/test/assets/failJSON23_test.json index 494add1..871fcdb 100644 --- a/test/assets/failJSON23_test.json +++ b/test/assets/failJSON23_test.json @@ -1 +1 @@ -["Bad value", truth] \ No newline at end of file +["Bad value", truth] diff --git a/test/assets/failJSON24_test.json b/test/assets/failJSON24_test.json deleted file mode 100644 index caff239..0000000 --- a/test/assets/failJSON24_test.json +++ /dev/null @@ -1 +0,0 @@ -['single quote'] \ No newline at end of file diff --git a/test/assets/failJSON26_test.json b/test/assets/failJSON26_test.json index 845d26a..ed456b8 100644 --- a/test/assets/failJSON26_test.json +++ b/test/assets/failJSON26_test.json @@ -1 +1 @@ -["tab\ character\ in\ string\ "] \ No newline at end of file +["tab\ character\ in\ string\ "] diff --git a/test/assets/failJSON28_test.json b/test/assets/failJSON28_test.json index 621a010..660959e 100644 --- a/test/assets/failJSON28_test.json +++ b/test/assets/failJSON28_test.json @@ -1,2 +1,2 @@ ["line\ -break"] \ No newline at end of file +break"] diff --git a/test/assets/failJSON29_test.json b/test/assets/failJSON29_test.json index 47ec421..63f1d6e 100644 --- a/test/assets/failJSON29_test.json +++ b/test/assets/failJSON29_test.json @@ -1 +1 @@ -[0e] \ No newline at end of file +[0e] diff --git a/test/assets/failJSON30_test.json b/test/assets/failJSON30_test.json index 8ab0bc4..023d4c1 100644 --- a/test/assets/failJSON30_test.json +++ b/test/assets/failJSON30_test.json @@ -1 +1 @@ -[0e+] \ No newline at end of file +[0e+] diff --git a/test/assets/failJSON31_test.json b/test/assets/failJSON31_test.json index 1cce602..f343fa1 100644 --- a/test/assets/failJSON31_test.json +++ b/test/assets/failJSON31_test.json @@ -1 +1 @@ -[0e+-1] \ No newline at end of file +[0e+-1] diff --git a/test/assets/failJSON32_test.json b/test/assets/failJSON32_test.json index 45cba73..e19f14e 100644 --- a/test/assets/failJSON32_test.json +++ b/test/assets/failJSON32_test.json @@ -1 +1 @@ -{"Comma instead if closing brace": true, \ No newline at end of file +{"Comma instead if closing brace": true, diff --git a/test/assets/failJSON33_test.json b/test/assets/failJSON33_test.json index ca5eb19..a232e15 100644 --- a/test/assets/failJSON33_test.json +++ b/test/assets/failJSON33_test.json @@ -1 +1 @@ -["mismatch"} \ No newline at end of file +["mismatch"} diff --git a/test/assets/int64_test.hjson b/test/assets/int64_test.hjson index 3959d9f..bd22f5d 100644 --- a/test/assets/int64_test.hjson +++ b/test/assets/int64_test.hjson @@ -1,3 +1,3 @@ { bigInt: 144115188075855873 -} \ No newline at end of file +} diff --git a/test/assets/pass1_test.json b/test/assets/pass1_test.json index 61cfd90..8b04f46 100644 --- a/test/assets/pass1_test.json +++ b/test/assets/pass1_test.json @@ -55,4 +55,4 @@ 0.1e1, 1e-1, 1e00,2e+00,2e-00 -,"rosebud"] \ No newline at end of file +,"rosebud"] diff --git a/test/assets/pass2_test.json b/test/assets/pass2_test.json index d3c63c7..fea5710 100644 --- a/test/assets/pass2_test.json +++ b/test/assets/pass2_test.json @@ -1 +1 @@ -[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] \ No newline at end of file +[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] diff --git a/test/assets/passSingle_test.hjson b/test/assets/passSingle_test.hjson index e580fce..da0c9e2 100644 --- a/test/assets/passSingle_test.hjson +++ b/test/assets/passSingle_test.hjson @@ -1 +1 @@ -allow quoteless strings \ No newline at end of file +allow quoteless strings diff --git a/test/assets/strings3_test.hjson b/test/assets/strings3_test.hjson index d8e87d6..6811103 100644 --- a/test/assets/strings3_test.hjson +++ b/test/assets/strings3_test.hjson @@ -3,4 +3,4 @@ a: "" // Unicode code points that require escape inside quotes. b: "\u00ad\u0600\u0604\u070f\u17b4\u17b5\u200c\u200f\u2028\u202f\u2060\u206f\ufeff\ufff0\uffff" -} \ No newline at end of file +} diff --git a/test/assets/testlist.txt b/test/assets/testlist.txt index 3ae3ee7..3511f51 100644 --- a/test/assets/testlist.txt +++ b/test/assets/testlist.txt @@ -1,12 +1,12 @@ charset2_test.hjson charset_test.hjson -comments_test.hjson comments2_test.hjson comments3_test.hjson comments4_test.hjson comments5_test.hjson comments6_test.hjson comments7_test.hjson +comments_test.hjson empty_test.hjson failCharset1_test.hjson failJSON02_test.json