mirror of
https://github.com/nlohmann/json.git
synced 2026-02-27 05:46:30 +00:00
Update CI (#3088)
* 👷 prepare GitHub actions for new Docker image * 👷 use experimental docker image * 👷 use Clang-Analyzer 14 * 🔇 suppress readability-identifier-length * 🔇 suppress more Clang-Tidy warnings * ♻️ simplify code * 🔇 suppress more Clang-Tidy warnings * 🔇 suppress more Clang-Tidy warnings * 🚨 fix warning * 🚨 fix warning * 🚨 fix warning * 👷 use new Docker image
This commit is contained in:
@@ -648,7 +648,7 @@ TEST_CASE("JSON patch")
|
||||
CHECK(target == R"({ "D": "Berlin", "F": "Paris", "GB": "London" })"_json);
|
||||
|
||||
// create a diff from two JSONs
|
||||
json p2 = json::diff(target, source);
|
||||
json p2 = json::diff(target, source); // NOLINT(readability-suspicious-call-argument)
|
||||
// p2 = [{"op": "delete", "path": "/GB"}]
|
||||
CHECK(p2 == R"([{"op":"remove","path":"/GB"}])"_json);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user