mirror of
https://github.com/nlohmann/json.git
synced 2026-11-18 05:00:19 +00:00
run make pretty
This commit is contained in:
1 parent
fbac056c38
commit
3e15b551e0
6 files changed
+6274
-5716
No files matched your search
@@ -177,10 +177,10 @@ TEST_CASE("value conversion")
|
||||
|
||||
SECTION("reserve is called on containers that supports it")
|
||||
{
|
||||
// making the call to from_json throw in order to check capacity
|
||||
std::vector<float> v;
|
||||
CHECK_THROWS_AS(nlohmann::from_json(j, v), std::logic_error);
|
||||
CHECK(v.capacity() == j.size());
|
||||
// making the call to from_json throw in order to check capacity
|
||||
std::vector<float> v;
|
||||
CHECK_THROWS_AS(nlohmann::from_json(j, v), std::logic_error);
|
||||
CHECK(v.capacity() == j.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user