Unverified Commit bde57124 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #1871 from sonulohani/develop

Fix warning: ignoring return value
parents b568619c 4c1ebb44
...@@ -43,7 +43,8 @@ TEST_CASE("tests on very large JSONs") ...@@ -43,7 +43,8 @@ TEST_CASE("tests on very large JSONs")
std::string s(2 * depth, '['); std::string s(2 * depth, '[');
std::fill(s.begin() + depth, s.end(), ']'); std::fill(s.begin() + depth, s.end(), ']');
CHECK_NOTHROW(nlohmann::json::parse(s)); json _;
CHECK_NOTHROW(_ = nlohmann::json::parse(s));
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment