From 7133e5d7f58869b174d0e412322c68ac78b77cc8 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 2 Aug 2017 01:49:00 +0900 Subject: [PATCH] ignore errors in teardown --- sqlite3_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlite3_test.go b/sqlite3_test.go index 5a94bd6..ad9aba9 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -1451,9 +1451,9 @@ func (db *TestDB) tearDown() { for _, tbl := range testTables { switch db.dialect { case SQLITE: - db.mustExec("drop table if exists " + tbl) + db.Exec("drop table if exists " + tbl) case MYSQL, POSTGRESQL: - db.mustExec("drop table if exists " + tbl) + db.Exec("drop table if exists " + tbl) default: db.Fatal("unknown dialect") }