refactor
This commit is contained in:
parent
cd484aa7bb
commit
b05cedb509
@ -35,10 +35,8 @@ TEST(database, db_insert) {
|
||||
{
|
||||
sqlite3 *db3_ptr{nullptr};
|
||||
auto res = sqlite3_open_v2(
|
||||
utils::path::absolute(
|
||||
utils::path::combine(get_test_dir(), {"test.db3"}))
|
||||
.c_str(),
|
||||
&db3_ptr, SQLITE_OPEN_READWRITE, nullptr);
|
||||
utils::path::combine(get_test_dir(), {"test.db3"}).c_str(), &db3_ptr,
|
||||
SQLITE_OPEN_READWRITE, nullptr);
|
||||
ASSERT_EQ(SQLITE_OK, res);
|
||||
ASSERT_TRUE(db3_ptr != nullptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user