aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/test/unitester.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-09-29 14:31:36 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-09-29 14:35:46 +0200
commitfaaeeb0d3e777d991c7cfee983bea369c109f5cc (patch)
treec55d3d58f96acbbe9a4fc4ccd5b6f3a7e638a179 /src/univalue/test/unitester.cpp
parentbbc901d3a683c92438a6b28dca50b956decc4433 (diff)
parent619bb05037a55c4b73973965989d199d8cb62f74 (diff)
Bump univalue and fix json formatting in tests
This merge commit bumps the univalue subtree and also updates the whitespace for some failing tests.
Diffstat (limited to 'src/univalue/test/unitester.cpp')
-rw-r--r--src/univalue/test/unitester.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/univalue/test/unitester.cpp b/src/univalue/test/unitester.cpp
index 05f3842cd1..2c37794a4b 100644
--- a/src/univalue/test/unitester.cpp
+++ b/src/univalue/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