mirror of
https://github.com/nlohmann/json.git
synced 2026-11-03 19:29:22 +00:00
missing CHECK_NOTHROW in unit-udt
This commit is contained in:
1 file changed
+2
-2
@@ -730,6 +730,6 @@ TEST_CASE("Issue #924")
|
|||||||
// Prevent get<std::vector<Evil>>() to throw
|
// Prevent get<std::vector<Evil>>() to throw
|
||||||
auto j = json::array();
|
auto j = json::array();
|
||||||
|
|
||||||
(void) j.get<Evil>();
|
CHECK_NOTHROW(j.get<Evil>());
|
||||||
(void) j.get<std::vector<Evil>>();
|
CHECK_NOTHROW(j.get<std::vector<Evil>>());
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user