🚨 fixing two compiler warnings
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -1272,7 +1272,7 @@ TEST_CASE("CBOR")
|
|||||||
|
|
||||||
SECTION("strict mode")
|
SECTION("strict mode")
|
||||||
{
|
{
|
||||||
CHECK_THROWS_AS(json::from_cbor(vec), json::parse_error);
|
CHECK_THROWS_AS(json::from_cbor(vec), json::parse_error&);
|
||||||
CHECK_THROWS_WITH(json::from_cbor(vec),
|
CHECK_THROWS_WITH(json::from_cbor(vec),
|
||||||
"[json.exception.parse_error.110] parse error at 2: expected end of input");
|
"[json.exception.parse_error.110] parse error at 2: expected end of input");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1113,7 +1113,7 @@ TEST_CASE("MessagePack")
|
|||||||
|
|
||||||
SECTION("strict mode")
|
SECTION("strict mode")
|
||||||
{
|
{
|
||||||
CHECK_THROWS_AS(json::from_msgpack(vec), json::parse_error);
|
CHECK_THROWS_AS(json::from_msgpack(vec), json::parse_error&);
|
||||||
CHECK_THROWS_WITH(json::from_msgpack(vec),
|
CHECK_THROWS_WITH(json::from_msgpack(vec),
|
||||||
"[json.exception.parse_error.110] parse error at 2: expected end of input");
|
"[json.exception.parse_error.110] parse error at 2: expected end of input");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user