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:
parent
1f3d2a3be7
commit
c22f2d41f3
@ -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>>());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user