Skip to content

Commit 7c87a90

Browse files
committed
remove comma test due to pr #1098
1 parent e40cf1f commit 7c87a90

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/test_lib_json/main.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2979,14 +2979,6 @@ JSONTEST_FIXTURE_LOCAL(CharReaderTest, parseObjectWithErrors) {
29792979
" Missing '}' or object member name\n");
29802980
JSONTEST_ASSERT_EQUAL("value", root["property"]);
29812981
}
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-
}
29902982
}
29912983

29922984
JSONTEST_FIXTURE_LOCAL(CharReaderTest, parseArrayWithErrors) {

0 commit comments

Comments
 (0)