1
0
mirror of https://github.com/nlohmann/json.git synced 2026-07-29 07:03:02 +04:00

🔨 added user-defined exception 406

This commit is contained in:
Niels Lohmann
2017-03-12 20:59:33 +01:00
parent 43b8285249
commit c5cf32e34d
5 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -797,7 +797,7 @@ TEST_CASE("nst's JSONTestSuite")
CAPTURE(filename);
std::ifstream f(filename);
json j;
CHECK_THROWS_AS(j << f, std::out_of_range);
CHECK_THROWS_AS(j << f, json::out_of_range);
}
}