🚨 fixed warnings

This commit is contained in:
Niels Lohmann 2018-01-30 23:57:49 +01:00
parent f7131715b1
commit 57e6fddd90
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
6 changed files with 16 additions and 16 deletions

View file

@ -1020,7 +1020,7 @@ TEST_CASE("value conversion")
SECTION("std::array is larger than JSON")
{
std::array<int, 6> arr6 = {{1, 2, 3, 4, 5, 6}};
CHECK_THROWS_AS(arr6 = j1, json::out_of_range);
CHECK_THROWS_AS(arr6 = j1, json::out_of_range&);
CHECK_THROWS_WITH(arr6 = j1, "[json.exception.out_of_range.401] array index 4 is out of range");
}