diff --git a/tests/HJSONParserTest.php b/tests/HJSONParserTest.php index f43a66b..6d5a115 100644 --- a/tests/HJSONParserTest.php +++ b/tests/HJSONParserTest.php @@ -17,6 +17,14 @@ class HJSONParserTest public function assertEquals($a, $b) { if ($a !== $b) { +// for ($i=0; $i $outputCr ? "\r\n" : "\n", 'emitRootBraces' => true, 'space' => 2 - ]); + ]).($outputCr ? "\r" : "")."\n"; $result = json_decode($this->load("{$name}_result.json", $inputCr)); $text2 = json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); $this->assertEquals($text1, $text2); diff --git a/tests/assets/charset_result.hjson b/tests/assets/charset_result.hjson index 4706c9f..9447070 100644 --- a/tests/assets/charset_result.hjson +++ b/tests/assets/charset_result.hjson @@ -2,4 +2,4 @@ ql-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄäÅåÖöÉé js-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄäÅåÖöÉé ml-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄäÅåÖöÉé -} \ No newline at end of file +} diff --git a/tests/assets/charset_result.json b/tests/assets/charset_result.json index 420cd6c..4308987 100644 --- a/tests/assets/charset_result.json +++ b/tests/assets/charset_result.json @@ -2,4 +2,4 @@ "ql-ascii": "! \"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄäÅåÖöÉé", "js-ascii": "! \"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄäÅåÖöÉé", "ml-ascii": "! \"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄäÅåÖöÉé" -} \ No newline at end of file +} diff --git a/tests/assets/comments_result.hjson b/tests/assets/comments_result.hjson index a99ce23..0f31870 100644 --- a/tests/assets/comments_result.hjson +++ b/tests/assets/comments_result.hjson @@ -23,4 +23,4 @@ str1: 00 # part of the string str2: 00.0 // part of the string str3: 02 /* part of the string */ -} \ No newline at end of file +} diff --git a/tests/assets/comments_result.json b/tests/assets/comments_result.json index e247803..149ae7c 100644 --- a/tests/assets/comments_result.json +++ b/tests/assets/comments_result.json @@ -23,4 +23,4 @@ "str1": "00 # part of the string", "str2": "00.0 // part of the string", "str3": "02 /* part of the string */" -} \ No newline at end of file +} diff --git a/tests/assets/empty_result.hjson b/tests/assets/empty_result.hjson index a75b45b..ac97a9d 100644 --- a/tests/assets/empty_result.hjson +++ b/tests/assets/empty_result.hjson @@ -1,3 +1,3 @@ { "": empty -} \ No newline at end of file +} diff --git a/tests/assets/empty_result.json b/tests/assets/empty_result.json index 47f710f..d0eac64 100644 --- a/tests/assets/empty_result.json +++ b/tests/assets/empty_result.json @@ -1,3 +1,3 @@ { "": "empty" -} \ No newline at end of file +} diff --git a/tests/assets/failJSON02_test.json b/tests/assets/failJSON02_test.json index 6b7c11e..dce1699 100644 --- a/tests/assets/failJSON02_test.json +++ b/tests/assets/failJSON02_test.json @@ -1 +1 @@ -["Unclosed array" \ No newline at end of file +["Unclosed array" diff --git a/tests/assets/failJSON05_test.json b/tests/assets/failJSON05_test.json index ddf3ce3..4e140bb 100644 --- a/tests/assets/failJSON05_test.json +++ b/tests/assets/failJSON05_test.json @@ -1 +1 @@ -["double extra comma",,] \ No newline at end of file +["double extra comma",,] diff --git a/tests/assets/failJSON06_test.json b/tests/assets/failJSON06_test.json index ed91580..54c2c88 100644 --- a/tests/assets/failJSON06_test.json +++ b/tests/assets/failJSON06_test.json @@ -1 +1 @@ -[ , "<-- missing value"] \ No newline at end of file +[ , "<-- missing value"] diff --git a/tests/assets/failJSON07_test.json b/tests/assets/failJSON07_test.json index 8a96af3..ddef19b 100644 --- a/tests/assets/failJSON07_test.json +++ b/tests/assets/failJSON07_test.json @@ -1 +1 @@ -["Comma after the close"], \ No newline at end of file +["Comma after the close"], diff --git a/tests/assets/failJSON08_test.json b/tests/assets/failJSON08_test.json index b28479c..ca65a46 100644 --- a/tests/assets/failJSON08_test.json +++ b/tests/assets/failJSON08_test.json @@ -1 +1 @@ -["Extra close"]] \ No newline at end of file +["Extra close"]] diff --git a/tests/assets/failJSON10_test.json b/tests/assets/failJSON10_test.json index 5d8c004..d8bbf2e 100644 --- a/tests/assets/failJSON10_test.json +++ b/tests/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/tests/assets/failJSON11_test.json b/tests/assets/failJSON11_test.json index 76eb95b..1b37f0e 100644 --- a/tests/assets/failJSON11_test.json +++ b/tests/assets/failJSON11_test.json @@ -1 +1 @@ -{"Illegal expression": 1 + 2} \ No newline at end of file +{"Illegal expression": 1 + 2} diff --git a/tests/assets/failJSON12_test.json b/tests/assets/failJSON12_test.json index 77580a4..d448115 100644 --- a/tests/assets/failJSON12_test.json +++ b/tests/assets/failJSON12_test.json @@ -1 +1 @@ -{"Illegal invocation": alert()} \ No newline at end of file +{"Illegal invocation": alert()} diff --git a/tests/assets/failJSON13_test.json b/tests/assets/failJSON13_test.json index 379406b..92983fe 100644 --- a/tests/assets/failJSON13_test.json +++ b/tests/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/tests/assets/failJSON14_test.json b/tests/assets/failJSON14_test.json index 0ed366b..efb3a2e 100644 --- a/tests/assets/failJSON14_test.json +++ b/tests/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/tests/assets/failJSON15_test.json b/tests/assets/failJSON15_test.json index fc8376b..1fb8b7f 100644 --- a/tests/assets/failJSON15_test.json +++ b/tests/assets/failJSON15_test.json @@ -1 +1 @@ -["Illegal backslash escape: \x15"] \ No newline at end of file +["Illegal backslash escape: \x15"] diff --git a/tests/assets/failJSON16_test.json b/tests/assets/failJSON16_test.json index 3fe21d4..d10078d 100644 --- a/tests/assets/failJSON16_test.json +++ b/tests/assets/failJSON16_test.json @@ -1 +1 @@ -[\naked] \ No newline at end of file +[\naked] diff --git a/tests/assets/failJSON17_test.json b/tests/assets/failJSON17_test.json index 62b9214..09bd8c3 100644 --- a/tests/assets/failJSON17_test.json +++ b/tests/assets/failJSON17_test.json @@ -1 +1 @@ -["Illegal backslash escape: \017"] \ No newline at end of file +["Illegal backslash escape: \017"] diff --git a/tests/assets/failJSON19_test.json b/tests/assets/failJSON19_test.json index 3b9c46f..4a49528 100644 --- a/tests/assets/failJSON19_test.json +++ b/tests/assets/failJSON19_test.json @@ -1 +1 @@ -{"Missing colon" null} \ No newline at end of file +{"Missing colon" null} diff --git a/tests/assets/failJSON20_test.json b/tests/assets/failJSON20_test.json index 27c1af3..14439b8 100644 --- a/tests/assets/failJSON20_test.json +++ b/tests/assets/failJSON20_test.json @@ -1 +1 @@ -{"Double colon":: null} \ No newline at end of file +{"Double colon":: null} diff --git a/tests/assets/failJSON21_test.json b/tests/assets/failJSON21_test.json index 6247457..753b4e9 100644 --- a/tests/assets/failJSON21_test.json +++ b/tests/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/tests/assets/failJSON22_test.json b/tests/assets/failJSON22_test.json index a775258..dc62577 100644 --- a/tests/assets/failJSON22_test.json +++ b/tests/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/tests/assets/failJSON23_test.json b/tests/assets/failJSON23_test.json index 494add1..871fcdb 100644 --- a/tests/assets/failJSON23_test.json +++ b/tests/assets/failJSON23_test.json @@ -1 +1 @@ -["Bad value", truth] \ No newline at end of file +["Bad value", truth] diff --git a/tests/assets/failJSON26_test.json b/tests/assets/failJSON26_test.json index 845d26a..ed456b8 100644 --- a/tests/assets/failJSON26_test.json +++ b/tests/assets/failJSON26_test.json @@ -1 +1 @@ -["tab\ character\ in\ string\ "] \ No newline at end of file +["tab\ character\ in\ string\ "] diff --git a/tests/assets/failJSON28_test.json b/tests/assets/failJSON28_test.json index 621a010..660959e 100644 --- a/tests/assets/failJSON28_test.json +++ b/tests/assets/failJSON28_test.json @@ -1,2 +1,2 @@ ["line\ -break"] \ No newline at end of file +break"] diff --git a/tests/assets/failJSON29_test.json b/tests/assets/failJSON29_test.json index 47ec421..63f1d6e 100644 --- a/tests/assets/failJSON29_test.json +++ b/tests/assets/failJSON29_test.json @@ -1 +1 @@ -[0e] \ No newline at end of file +[0e] diff --git a/tests/assets/failJSON30_test.json b/tests/assets/failJSON30_test.json index 8ab0bc4..023d4c1 100644 --- a/tests/assets/failJSON30_test.json +++ b/tests/assets/failJSON30_test.json @@ -1 +1 @@ -[0e+] \ No newline at end of file +[0e+] diff --git a/tests/assets/failJSON31_test.json b/tests/assets/failJSON31_test.json index 1cce602..f343fa1 100644 --- a/tests/assets/failJSON31_test.json +++ b/tests/assets/failJSON31_test.json @@ -1 +1 @@ -[0e+-1] \ No newline at end of file +[0e+-1] diff --git a/tests/assets/failJSON32_test.json b/tests/assets/failJSON32_test.json index 45cba73..e19f14e 100644 --- a/tests/assets/failJSON32_test.json +++ b/tests/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/tests/assets/failJSON33_test.json b/tests/assets/failJSON33_test.json index ca5eb19..a232e15 100644 --- a/tests/assets/failJSON33_test.json +++ b/tests/assets/failJSON33_test.json @@ -1 +1 @@ -["mismatch"} \ No newline at end of file +["mismatch"} diff --git a/tests/assets/failJSON35_test.json b/tests/assets/failJSON35_test.json index d6c9c3c..0cc9824 100644 --- a/tests/assets/failJSON35_test.json +++ b/tests/assets/failJSON35_test.json @@ -1,3 +1,3 @@ { :0 -} \ No newline at end of file +} diff --git a/tests/assets/kan_result.hjson b/tests/assets/kan_result.hjson index d2b839a..beb4286 100644 --- a/tests/assets/kan_result.hjson +++ b/tests/assets/kan_result.hjson @@ -45,4 +45,4 @@ null null x null ] -} \ No newline at end of file +} diff --git a/tests/assets/kan_result.json b/tests/assets/kan_result.json index babb9d4..ff170f6 100644 --- a/tests/assets/kan_result.json +++ b/tests/assets/kan_result.json @@ -42,4 +42,4 @@ "null null", "x null" ] -} \ No newline at end of file +} diff --git a/tests/assets/keys_result.hjson b/tests/assets/keys_result.hjson index 06833c4..c8b4ffb 100644 --- a/tests/assets/keys_result.hjson +++ b/tests/assets/keys_result.hjson @@ -34,4 +34,4 @@ nl1: test nl2: test nl3: test -} \ No newline at end of file +} diff --git a/tests/assets/keys_result.json b/tests/assets/keys_result.json index ead27f1..b8c38b8 100644 --- a/tests/assets/keys_result.json +++ b/tests/assets/keys_result.json @@ -34,4 +34,4 @@ "nl1": "test", "nl2": "test", "nl3": "test" -} \ No newline at end of file +} diff --git a/tests/assets/large_file_result.hjson b/tests/assets/large_file_result.hjson index 1bc9946..97ede0f 100644 --- a/tests/assets/large_file_result.hjson +++ b/tests/assets/large_file_result.hjson @@ -1799,4 +1799,4 @@ value: value300 other: other300 } -} \ No newline at end of file +} diff --git a/tests/assets/large_file_result.json b/tests/assets/large_file_result.json index 374f1bd..a577893 100644 --- a/tests/assets/large_file_result.json +++ b/tests/assets/large_file_result.json @@ -1499,4 +1499,4 @@ "value": "value300", "other": "other300" } -} \ No newline at end of file +} diff --git a/tests/assets/large_file_test.json b/tests/assets/large_file_test.json index 374f1bd..a577893 100644 --- a/tests/assets/large_file_test.json +++ b/tests/assets/large_file_test.json @@ -1499,4 +1499,4 @@ "value": "value300", "other": "other300" } -} \ No newline at end of file +} diff --git a/tests/assets/oa_result.hjson b/tests/assets/oa_result.hjson index db42ac9..35bcdb4 100644 --- a/tests/assets/oa_result.hjson +++ b/tests/assets/oa_result.hjson @@ -10,4 +10,4 @@ d: {} } [] -] \ No newline at end of file +] diff --git a/tests/assets/oa_result.json b/tests/assets/oa_result.json index f0955ab..3952733 100644 --- a/tests/assets/oa_result.json +++ b/tests/assets/oa_result.json @@ -10,4 +10,4 @@ "d": {} }, [] -] \ No newline at end of file +] diff --git a/tests/assets/pass1_result.hjson b/tests/assets/pass1_result.hjson index 3c4b8b1..94aad81 100644 --- a/tests/assets/pass1_result.hjson +++ b/tests/assets/pass1_result.hjson @@ -83,4 +83,4 @@ 2 2 rosebud -] \ No newline at end of file +] diff --git a/tests/assets/pass1_result.json b/tests/assets/pass1_result.json index a1c1706..0a8521c 100644 --- a/tests/assets/pass1_result.json +++ b/tests/assets/pass1_result.json @@ -80,4 +80,4 @@ 2, 2, "rosebud" -] \ No newline at end of file +] diff --git a/tests/assets/pass1_test.json b/tests/assets/pass1_test.json index c57264a..75c5157 100644 --- a/tests/assets/pass1_test.json +++ b/tests/assets/pass1_test.json @@ -63,4 +63,4 @@ 0.1e1, 1e-1, 1e00,2e+00,2e-00 -,"rosebud"] \ No newline at end of file +,"rosebud"] diff --git a/tests/assets/pass2_result.hjson b/tests/assets/pass2_result.hjson index 5a9fd5e..25a5bd4 100644 --- a/tests/assets/pass2_result.hjson +++ b/tests/assets/pass2_result.hjson @@ -36,4 +36,4 @@ ] ] ] -] \ No newline at end of file +] diff --git a/tests/assets/pass2_result.json b/tests/assets/pass2_result.json index 2a71f58..6764f01 100644 --- a/tests/assets/pass2_result.json +++ b/tests/assets/pass2_result.json @@ -36,4 +36,4 @@ ] ] ] -] \ No newline at end of file +] diff --git a/tests/assets/pass2_test.json b/tests/assets/pass2_test.json index d3c63c7..fea5710 100644 --- a/tests/assets/pass2_test.json +++ b/tests/assets/pass2_test.json @@ -1 +1 @@ -[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] \ No newline at end of file +[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] diff --git a/tests/assets/pass3_result.hjson b/tests/assets/pass3_result.hjson index 6db3fb6..a85f3f8 100644 --- a/tests/assets/pass3_result.hjson +++ b/tests/assets/pass3_result.hjson @@ -4,4 +4,4 @@ "The outermost value": must be an object or array. "In this test": It is an object. } -} \ No newline at end of file +} diff --git a/tests/assets/pass3_result.json b/tests/assets/pass3_result.json index d98cd2f..270f890 100644 --- a/tests/assets/pass3_result.json +++ b/tests/assets/pass3_result.json @@ -3,4 +3,4 @@ "The outermost value": "must be an object or array.", "In this test": "It is an object." } -} \ No newline at end of file +} diff --git a/tests/assets/pass4_result.hjson b/tests/assets/pass4_result.hjson index 9a03714..f599e28 100644 --- a/tests/assets/pass4_result.hjson +++ b/tests/assets/pass4_result.hjson @@ -1 +1 @@ -10 \ No newline at end of file +10 diff --git a/tests/assets/pass4_result.json b/tests/assets/pass4_result.json index 9a03714..f599e28 100644 --- a/tests/assets/pass4_result.json +++ b/tests/assets/pass4_result.json @@ -1 +1 @@ -10 \ No newline at end of file +10 diff --git a/tests/assets/passSingle_result.hjson b/tests/assets/passSingle_result.hjson index e580fce..da0c9e2 100644 --- a/tests/assets/passSingle_result.hjson +++ b/tests/assets/passSingle_result.hjson @@ -1 +1 @@ -allow quoteless strings \ No newline at end of file +allow quoteless strings diff --git a/tests/assets/passSingle_result.json b/tests/assets/passSingle_result.json index 1829d36..55f1262 100644 --- a/tests/assets/passSingle_result.json +++ b/tests/assets/passSingle_result.json @@ -1 +1 @@ -"allow quoteless strings" \ No newline at end of file +"allow quoteless strings" diff --git a/tests/assets/passSingle_test.hjson b/tests/assets/passSingle_test.hjson index e580fce..da0c9e2 100644 --- a/tests/assets/passSingle_test.hjson +++ b/tests/assets/passSingle_test.hjson @@ -1 +1 @@ -allow quoteless strings \ No newline at end of file +allow quoteless strings diff --git a/tests/assets/root_result.hjson b/tests/assets/root_result.hjson index 736372f..d1602b3 100644 --- a/tests/assets/root_result.hjson +++ b/tests/assets/root_result.hjson @@ -4,4 +4,4 @@ host: 127.0.0.1 port: 555 } -} \ No newline at end of file +} diff --git a/tests/assets/root_result.json b/tests/assets/root_result.json index 21b01cd..6899303 100644 --- a/tests/assets/root_result.json +++ b/tests/assets/root_result.json @@ -3,4 +3,4 @@ "host": "127.0.0.1", "port": 555 } -} \ No newline at end of file +} diff --git a/tests/assets/stringify1_result.hjson b/tests/assets/stringify1_result.hjson index 77b2edd..1e071ad 100644 --- a/tests/assets/stringify1_result.hjson +++ b/tests/assets/stringify1_result.hjson @@ -46,4 +46,4 @@ comment2: a//str comment3: a/*str*/ } -} \ No newline at end of file +} diff --git a/tests/assets/stringify1_result.json b/tests/assets/stringify1_result.json index 12514f8..c9245c1 100644 --- a/tests/assets/stringify1_result.json +++ b/tests/assets/stringify1_result.json @@ -44,4 +44,4 @@ "comment2": "a//str", "comment3": "a/*str*/" } -} \ No newline at end of file +} diff --git a/tests/assets/strings2_result.hjson b/tests/assets/strings2_result.hjson index c89327f..778cb73 100644 --- a/tests/assets/strings2_result.hjson +++ b/tests/assets/strings2_result.hjson @@ -26,4 +26,4 @@ foo3b: "'''asdf" foo4a: "asdf'''\nasdf" foo4b: "asdf\n'''asdf" -} \ No newline at end of file +} diff --git a/tests/assets/strings2_result.json b/tests/assets/strings2_result.json index 88b4ef2..96d4ff5 100644 --- a/tests/assets/strings2_result.json +++ b/tests/assets/strings2_result.json @@ -25,4 +25,4 @@ "foo3b": "'''asdf", "foo4a": "asdf'''\nasdf", "foo4b": "asdf\n'''asdf" -} \ No newline at end of file +} diff --git a/tests/assets/strings_result.hjson b/tests/assets/strings_result.hjson index 5eff967..5494060 100644 --- a/tests/assets/strings_result.hjson +++ b/tests/assets/strings_result.hjson @@ -84,4 +84,4 @@ minus: "-3" zero: "0" } -} \ No newline at end of file +} diff --git a/tests/assets/strings_result.json b/tests/assets/strings_result.json index edc7176..0026e16 100644 --- a/tests/assets/strings_result.json +++ b/tests/assets/strings_result.json @@ -60,4 +60,4 @@ "minus": "-3", "zero": "0" } -} \ No newline at end of file +} diff --git a/tests/assets/testlist.txt b/tests/assets/testlist.txt deleted file mode 100644 index 916948b..0000000 --- a/tests/assets/testlist.txt +++ /dev/null @@ -1,78 +0,0 @@ -charset_test.hjson -comments_test.hjson -empty_test.hjson -failCharset1_test.hjson -failJSON02_test.json -failJSON05_test.json -failJSON06_test.json -failJSON07_test.json -failJSON08_test.json -failJSON10_test.json -failJSON11_test.json -failJSON12_test.json -failJSON13_test.json -failJSON14_test.json -failJSON15_test.json -failJSON16_test.json -failJSON17_test.json -failJSON19_test.json -failJSON20_test.json -failJSON21_test.json -failJSON22_test.json -failJSON23_test.json -failJSON26_test.json -failJSON28_test.json -failJSON29_test.json -failJSON30_test.json -failJSON31_test.json -failJSON32_test.json -failJSON33_test.json -failJSON34_test.json -failKey1_test.hjson -failKey2_test.hjson -failKey3_test.hjson -failKey4_test.hjson -failKey5_test.hjson -failMLStr1_test.hjson -failObj1_test.hjson -failObj2_test.hjson -failObj3_test.hjson -failStr1a_test.hjson -failStr1b_test.hjson -failStr1c_test.hjson -failStr1d_test.hjson -failStr2a_test.hjson -failStr2b_test.hjson -failStr2c_test.hjson -failStr2d_test.hjson -failStr3a_test.hjson -failStr3b_test.hjson -failStr3c_test.hjson -failStr3d_test.hjson -failStr4a_test.hjson -failStr4b_test.hjson -failStr4c_test.hjson -failStr4d_test.hjson -failStr5a_test.hjson -failStr5b_test.hjson -failStr5c_test.hjson -failStr5d_test.hjson -failStr6a_test.hjson -failStr6b_test.hjson -failStr6c_test.hjson -failStr6d_test.hjson -failStr8a_test.hjson -kan_test.hjson -keys_test.hjson -mltabs_test.json -oa_test.hjson -pass1_test.json -pass2_test.json -pass3_test.json -pass4_test.json -passSingle_test.hjson -root_test.hjson -stringify1_test.hjson -strings2_test.hjson -strings_test.hjson -trail_test.hjson \ No newline at end of file diff --git a/tests/assets/trail_result.hjson b/tests/assets/trail_result.hjson index 57ffc71..e7f132f 100644 --- a/tests/assets/trail_result.hjson +++ b/tests/assets/trail_result.hjson @@ -1,3 +1,3 @@ { foo: 0 -- this string starts at 0 and ends at 1, preceding and trailing whitespace is ignored -- 1 -} \ No newline at end of file +} diff --git a/tests/assets/trail_result.json b/tests/assets/trail_result.json index 451c8ce..bb65b0c 100644 --- a/tests/assets/trail_result.json +++ b/tests/assets/trail_result.json @@ -1,3 +1,3 @@ { "foo": "0 -- this string starts at 0 and ends at 1, preceding and trailing whitespace is ignored -- 1" -} \ No newline at end of file +}