1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-29 23:01:16 +03:00

missing CHECK_NOTHROW in unit-udt

This commit is contained in:
Théo DELRIEU
2018-02-27 11:09:53 +01:00
parent 1f3d2a3be7
commit c22f2d41f3

View File

@ -730,6 +730,6 @@ TEST_CASE("Issue #924")
// Prevent get<std::vector<Evil>>() to throw
auto j = json::array();
(void) j.get<Evil>();
(void) j.get<std::vector<Evil>>();
CHECK_NOTHROW(j.get<Evil>());
CHECK_NOTHROW(j.get<std::vector<Evil>>());
}