improve testing for bad inline comments

pull/5/head
Antonio Cervone 2015-12-01 11:00:11 +01:00
parent 4b0f5cfd77
commit 982b2d8885
1 changed files with 1 additions and 3 deletions

View File

@ -95,9 +95,7 @@ int main(int argc, char **argv) {
}
failing_comment_test = R"({
/ / bad comment
"a": 1,
})";
/ / bad comment })";
json_failing_comment = Json::parse(
failing_comment_test, err_failing_comment, /*detect_comments=*/ true);