Skip to content

Commit 7133e5d

Browse files
committed
ignore errors in teardown
1 parent 1828334 commit 7133e5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlite3_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,9 +1451,9 @@ func (db *TestDB) tearDown() {
14511451
for _, tbl := range testTables {
14521452
switch db.dialect {
14531453
case SQLITE:
1454-
db.mustExec("drop table if exists " + tbl)
1454+
db.Exec("drop table if exists " + tbl)
14551455
case MYSQL, POSTGRESQL:
1456-
db.mustExec("drop table if exists " + tbl)
1456+
db.Exec("drop table if exists " + tbl)
14571457
default:
14581458
db.Fatal("unknown dialect")
14591459
}

0 commit comments

Comments
 (0)