From 982b2d8885741bbef666f07ab874bbe802bb9d0b Mon Sep 17 00:00:00 2001 From: Antonio Cervone Date: Tue, 1 Dec 2015 11:00:11 +0100 Subject: [PATCH] improve testing for bad inline comments --- test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test.cpp b/test.cpp index ba786d8..7d77aa3 100644 --- a/test.cpp +++ b/test.cpp @@ -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);