Extracted the class Latch

also fixed a buffer overrun and reduced the code size
This commit is contained in:
Benoit Blanchon
2020-02-13 14:53:54 +01:00
parent d2a67f362f
commit 6e52f242b2
3 changed files with 73 additions and 26 deletions

View File

@ -445,6 +445,15 @@ TEST_CASE("Filtering") {
"[]",
JSON_ARRAY_SIZE(0)
},
{
// supports back-slash at the end of skipped string
"\"hell\\",
"false",
1,
DeserializationError::IncompleteInput,
"null",
0
},
}; // clang-format on
for (size_t i = 0; i < sizeof(testCases) / sizeof(testCases[0]); i++) {