chore: Enable more clang-tidy checks (#3054)

This commit is contained in:
Alex Kremer
2026-05-01 15:31:45 +01:00
committed by GitHub
parent d6bae6c12b
commit 51244feb4a
239 changed files with 1150 additions and 733 deletions

View File

@@ -21,7 +21,7 @@ TEST_F(ResponseExpirationCacheTests, PutAndGetNotExpired)
cache_.put("key", object_);
auto result = cache_.get("key");
ASSERT_TRUE(result.has_value());
EXPECT_EQ(*result, object_);
EXPECT_EQ(*result, object_); // NOLINT(bugprone-unchecked-optional-access)
result = cache_.get("key2");
ASSERT_FALSE(result.has_value());