diff options
Diffstat (limited to 'test/unitester.cpp')
-rw-r--r-- | test/unitester.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unitester.cpp b/test/unitester.cpp index 05f3842cd1..2c37794a4b 100644 --- a/test/unitester.cpp +++ b/test/unitester.cpp @@ -113,6 +113,8 @@ static const char *filenames[] = { "fail39.json", // invalid unicode: only second half of surrogate pair "fail40.json", // invalid unicode: broken UTF-8 "fail41.json", // invalid unicode: unfinished UTF-8 + "fail42.json", // valid json with garbage following a nul byte + "fail44.json", // unterminated string "fail3.json", "fail4.json", // extra comma "fail5.json", @@ -125,6 +127,11 @@ static const char *filenames[] = { "pass3.json", "round1.json", // round-trip test "round2.json", // unicode + "round3.json", // bare string + "round4.json", // bare number + "round5.json", // bare true + "round6.json", // bare false + "round7.json", // bare null }; // Test \u handling |