mirror of
https://github.com/nlohmann/json.git
synced 2026-02-21 15:42:14 +00:00
🔨 added user-defined exception 406
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user