✅ add regression test #2824
This commit is contained in:
parent
c7822840eb
commit
8676f6745e
@ -649,7 +649,7 @@ TEST_CASE("regression tests 2")
|
|||||||
|
|
||||||
CHECK (!json::sax_parse("xyz", &sax));
|
CHECK (!json::sax_parse("xyz", &sax));
|
||||||
CHECK(*sax_no_exception::error_string == "[json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; last read: 'x'");
|
CHECK(*sax_no_exception::error_string == "[json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; last read: 'x'");
|
||||||
delete sax_no_exception::error_string;
|
delete sax_no_exception::error_string; // NOLINT(cppcoreguidelines-owning-memory)
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTION("issue #2825 - Properly constrain the basic_json conversion operator")
|
SECTION("issue #2825 - Properly constrain the basic_json conversion operator")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user