mirror of
https://github.com/nlohmann/json.git
synced 2026-11-19 13:36:31 +00:00
♻️ replace further alternative operators
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -314,7 +314,7 @@ void comments_helper(const std::string& s)
|
||||
{
|
||||
CAPTURE(json_with_comment)
|
||||
CHECK_THROWS_AS(_ = json::parse(json_with_comment), json::parse_error);
|
||||
CHECK(not json::accept(json_with_comment));
|
||||
CHECK(!json::accept(json_with_comment));
|
||||
|
||||
CHECK_NOTHROW(_ = json::parse(json_with_comment, nullptr, true, true));
|
||||
CHECK(json::accept(json_with_comment, true));
|
||||
|
||||
Reference in new issue
Block a user