Skip to content

Commit 8085b06

Browse files
committed
fix SQLite test
1 parent 8ffac2a commit 8085b06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/ddbctest/main.d

+4-4
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ class SQLitePodTest : DdbcTestFixture {
103103
this() {
104104
super(
105105
"sqlite::memory:",
106-
"CREATE TABLE user (id INTEGER PRIMARY KEY, name VARCHAR(255) NOT NULL, flags int null, dob DATE, created DATETIME, updated DATETIME)",
107-
"DROP TABLE IF EXISTS user"
106+
"CREATE TABLE my_first_test (id INTEGER PRIMARY KEY, name VARCHAR(255) NOT NULL);CREATE TABLE user (id INTEGER PRIMARY KEY, name VARCHAR(255) NOT NULL, flags int null, dob DATE, created DATETIME, updated DATETIME)",
107+
"DROP TABLE IF EXISTS my_first_test;DROP TABLE IF EXISTS user"
108108
);
109109
}
110110

@@ -687,8 +687,8 @@ class SQLiteTransactionTest : DdbcTestFixture {
687687
this() {
688688
super(
689689
"sqlite::memory:",
690-
"CREATE TABLE records (id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL)",
691-
"DROP TABLE IF EXISTS records");
690+
"CREATE TABLE my_first_test (id INTEGER PRIMARY KEY, name VARCHAR(255) NOT NULL);CREATE TABLE records (id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL)",
691+
"DROP TABLE IF EXISTS my_first_test;DROP TABLE IF EXISTS records");
692692
}
693693

694694
@Test

0 commit comments

Comments
 (0)