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

@@ -30,7 +30,7 @@ TEST_F(FetchLedgerCacheTest, CanStoreAndRetrieveEntry)
auto const result = cache_.get();
ASSERT_TRUE(result.has_value());
EXPECT_EQ(result.value(), entry);
EXPECT_EQ(result.value(), entry); // NOLINT(bugprone-unchecked-optional-access)
}
TEST_F(FetchLedgerCacheTest, PutOverwritesPreviousEntry)
@@ -46,5 +46,5 @@ TEST_F(FetchLedgerCacheTest, PutOverwritesPreviousEntry)
auto const result = cache_.get();
ASSERT_TRUE(result.has_value());
EXPECT_EQ(result.value(), entry2);
EXPECT_EQ(result.value(), entry2); // NOLINT(bugprone-unchecked-optional-access)
}