From f421f67da33db2827ce1eac7a24cef02ab0de005 Mon Sep 17 00:00:00 2001 From: Krzysiek Karbowiak Date: Wed, 30 Mar 2022 15:49:43 +0200 Subject: [PATCH] Rename local variable --- test/src/unit-regression1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/unit-regression1.cpp b/test/src/unit-regression1.cpp index dfb1982bb..430d970e9 100644 --- a/test/src/unit-regression1.cpp +++ b/test/src/unit-regression1.cpp @@ -1414,10 +1414,10 @@ TEST_CASE("regression tests 1") CHECK_THROWS_WITH_AS(model.patch(p1), "[json.exception.out_of_range.403] key 'a' not found", json::out_of_range&); - auto p3 = R"([{"op": "copy", + auto p2 = R"([{"op": "copy", "from": "/one/two/three", "path": "/a/b/c"}])"_json; - CHECK_THROWS_WITH_AS(model.patch(p3), + CHECK_THROWS_WITH_AS(model.patch(p2), "[json.exception.out_of_range.403] key 'a' not found", json::out_of_range&); }