chore: Add clang-tidy 19 checks (#1774)

Fix #1664
This commit is contained in:
Alex Kremer
2024-12-09 16:27:53 +00:00
committed by GitHub
parent a7074dbf0f
commit 475e309f25
87 changed files with 3135 additions and 2711 deletions

View File

@@ -289,7 +289,7 @@ TEST_F(BackendCassandraBaseTest, CreateTableWithStrings)
EXPECT_EQ(totalRows, entries.size());
for (auto [hash, seq] : extract<std::string, int64_t>(results))
EXPECT_TRUE(std::find(std::begin(entries), std::end(entries), hash) != std::end(entries));
EXPECT_TRUE(std::ranges::find(entries, hash) != std::end(entries));
}
// delete everything
@@ -352,7 +352,7 @@ TEST_F(BackendCassandraBaseTest, BatchInsert)
EXPECT_EQ(totalRows, entries.size());
for (auto [hash, seq] : extract<std::string, int64_t>(results))
EXPECT_TRUE(std::find(std::begin(entries), std::end(entries), hash) != std::end(entries));
EXPECT_TRUE(std::ranges::find(entries, hash) != std::end(entries));
}
dropKeyspace(handle, "test");