We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40cf1f commit 7c87a90Copy full SHA for 7c87a90
src/test_lib_json/main.cpp
@@ -2979,14 +2979,6 @@ JSONTEST_FIXTURE_LOCAL(CharReaderTest, parseObjectWithErrors) {
2979
" Missing '}' or object member name\n");
2980
JSONTEST_ASSERT_EQUAL("value", root["property"]);
2981
}
2982
- {
2983
- char const doc[] = "{ \"property\" : \"value\" , }";
2984
- bool ok = reader->parse(doc, doc + std::strlen(doc), &root, &errs);
2985
- JSONTEST_ASSERT(!ok);
2986
- JSONTEST_ASSERT(errs == "* Line 1, Column 26\n"
2987
- " Missing '}' or object member name\n");
2988
- JSONTEST_ASSERT_EQUAL("value", root["property"]);
2989
- }
2990
2991
2992
JSONTEST_FIXTURE_LOCAL(CharReaderTest, parseArrayWithErrors) {
0 commit comments