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

@@ -81,7 +81,7 @@ public:
// drop the keyspace for next test
data::cassandra::Handle const handle{TestGlobals::instance().backendHost};
EXPECT_TRUE(handle.connect());
handle.execute("DROP KEYSPACE " + std::string{kKEYSPACE});
EXPECT_TRUE(handle.execute("DROP KEYSPACE " + std::string{kKEYSPACE}));
}
};
@@ -120,16 +120,16 @@ TEST_F(BackendCassandraFactoryTestWithDB, CreateCassandraBackend)
// insert range table
data::cassandra::Handle const handle{TestGlobals::instance().backendHost};
EXPECT_TRUE(handle.connect());
handle.execute(
EXPECT_TRUE(handle.execute(
fmt::format(
"INSERT INTO {}.ledger_range (is_latest, sequence) VALUES (False, 100)", kKEYSPACE
)
);
handle.execute(
));
EXPECT_TRUE(handle.execute(
fmt::format(
"INSERT INTO {}.ledger_range (is_latest, sequence) VALUES (True, 500)", kKEYSPACE
)
);
));
}
{