mirror of
https://github.com/nlohmann/json.git
synced 2026-07-28 22:53:03 +04:00
# Conflicts:
# .github/workflows/macos.yml # include/nlohmann/detail/input/parser.hpp # include/nlohmann/detail/meta/std_fs.hpp # include/nlohmann/json.hpp # single_include/nlohmann/json.hpp
This commit is contained in:
@@ -1305,7 +1305,7 @@ TEST_CASE("JSON patch")
|
||||
const auto& doc = test["doc"];
|
||||
const auto& patch = test["patch"];
|
||||
|
||||
if (test.count("error") == 0)
|
||||
if (test.count("error") == 0) // NOLINT(readability-container-contains)
|
||||
{
|
||||
// if an expected value is given, use it; use doc otherwise
|
||||
const auto& expected = test.value("expected", doc);
|
||||
|
||||
Reference in New Issue
Block a user