Rename local variable
This commit is contained in:
parent
58a32fea40
commit
f421f67da3
@ -1414,10 +1414,10 @@ TEST_CASE("regression tests 1")
|
|||||||
CHECK_THROWS_WITH_AS(model.patch(p1),
|
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 p3 = R"([{"op": "copy",
|
auto p2 = R"([{"op": "copy",
|
||||||
"from": "/one/two/three",
|
"from": "/one/two/three",
|
||||||
"path": "/a/b/c"}])"_json;
|
"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&);
|
"[json.exception.out_of_range.403] key 'a' not found", json::out_of_range&);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user