From a7f04487a2172924c57ef61b15953edb3a1d63f0 Mon Sep 17 00:00:00 2001 From: Krzysiek Karbowiak Date: Thu, 31 Mar 2022 08:56:43 +0200 Subject: [PATCH] Apply formatting --- test/src/unit-regression1.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/src/unit-regression1.cpp b/test/src/unit-regression1.cpp index 430d970e9..e6dfaa1c5 100644 --- a/test/src/unit-regression1.cpp +++ b/test/src/unit-regression1.cpp @@ -771,7 +771,7 @@ TEST_CASE("regression tests 1") ss << " "; json j; CHECK_THROWS_WITH_AS(ss >> j, - "[json.exception.parse_error.101] parse error at line 1, column 4: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); + "[json.exception.parse_error.101] parse error at line 1, column 4: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); } SECTION("one value") @@ -794,7 +794,7 @@ TEST_CASE("regression tests 1") CHECK(j == 222); CHECK_THROWS_WITH_AS(ss >> j, - "[json.exception.parse_error.101] parse error at line 2, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); + "[json.exception.parse_error.101] parse error at line 2, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); } SECTION("whitespace + one value") @@ -1412,13 +1412,13 @@ TEST_CASE("regression tests 1") "from": "/one/two/three", "path": "/a/b/c"}])"_json; CHECK_THROWS_WITH_AS(model.patch(p1), - "[json.exception.out_of_range.403] key 'a' not found", json::out_of_range&); + "[json.exception.out_of_range.403] key 'a' not found", json::out_of_range&); auto p2 = R"([{"op": "copy", "from": "/one/two/three", "path": "/a/b/c"}])"_json; CHECK_THROWS_WITH_AS(model.patch(p2), - "[json.exception.out_of_range.403] key 'a' not found", json::out_of_range&); + "[json.exception.out_of_range.403] key 'a' not found", json::out_of_range&); } SECTION("issue #961 - incorrect parsing of indefinite length CBOR strings")