Commit 0d28bb13 authored by thebusytypist's avatar thebusytypist

Add a missing error handling check(a single number as JSON root).

parent 5ae48a03
......@@ -1051,6 +1051,7 @@ TEST(Reader, IterativeParsing_ErrorHandling) {
TESTERRORHANDLING("false, false", kParseErrorDocumentRootNotSingular, 5u);
TESTERRORHANDLING("nulL", kParseErrorValueInvalid, 3u);
TESTERRORHANDLING("null , null", kParseErrorDocumentRootNotSingular, 5u);
TESTERRORHANDLING("1a", kParseErrorDocumentRootNotSingular, 1u);
}
template<typename Encoding = UTF8<> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment