Merge pull request #1871 from sonulohani/develop
Fix warning: ignoring return value
This commit is contained in:
commit
bde5712418
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue