You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CHECK_THROWS_WITH_AS(_ = json("what?").get<strict_cards>(), "[json.exception.out_of_range.403] enum value 'what?' out of range", json::out_of_range&);
1707
+
CHECK_THROWS_WITH_AS(_ = json("what?").get<strict_cards>(), "[json.exception.out_of_range.403] enum value out of range", json::out_of_range&);
1709
1708
}
1710
1709
1711
1710
SECTION("traditional enum")
@@ -1724,7 +1723,7 @@ TEST_CASE("Strict JSON to enum mapping")
1724
1723
1725
1724
// invalid json -> exception thrown
1726
1725
json _;
1727
-
CHECK_THROWS_WITH_AS(_ = json("what?").get<StrictTaskState>(), "[json.exception.out_of_range.403] enum value 'what?' out of range", json::out_of_range&);
1726
+
CHECK_THROWS_WITH_AS(_ = json("what?").get<StrictTaskState>(), "[json.exception.out_of_range.403] enum value out of range", json::out_of_range&);
0 commit comments