Skip to content

Commit

Permalink
Make clang-tidy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fsandhei committed Nov 14, 2024
1 parent 4341bef commit 3a9ff36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/unit-readme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ TEST_CASE("README" * doctest::skip())

// find an entry
CHECK(o.find("foo") != o.end());
if (o.find("foo") != o.end())
if (o.contains("foo"))
{
// there is an entry with key "foo"
}
Expand Down

0 comments on commit 3a9ff36

Please sign in to comment.