mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-03 00:36:44 +00:00
chore: Enable more clang-tidy checks (#3054)
This commit is contained in:
@@ -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
|
||||
)
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user