improve testing for bad inline comments
parent
4b0f5cfd77
commit
982b2d8885
4
test.cpp
4
test.cpp
|
@ -95,9 +95,7 @@ int main(int argc, char **argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
failing_comment_test = R"({
|
failing_comment_test = R"({
|
||||||
/ / bad comment
|
/ / bad comment })";
|
||||||
"a": 1,
|
|
||||||
})";
|
|
||||||
|
|
||||||
json_failing_comment = Json::parse(
|
json_failing_comment = Json::parse(
|
||||||
failing_comment_test, err_failing_comment, /*detect_comments=*/ true);
|
failing_comment_test, err_failing_comment, /*detect_comments=*/ true);
|
||||||
|
|
Loading…
Reference in New Issue