1
0
mirror of https://github.com/nlohmann/json synced 2024-11-27 06:10:06 +00: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
No known key found for this signature in database
GPG Key ID: 7D6E00D1DF01DEAF

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>>());
}