diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-08-02 01:49:00 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-08-02 01:49:00 +0900 |
commit | 7133e5d7f58869b174d0e412322c68ac78b77cc8 (patch) | |
tree | 101cfcc891498dd04982392d096ca197f857f870 /sqlite3_test.go | |
parent | remove mutex (diff) | |
download | golite-7133e5d7f58869b174d0e412322c68ac78b77cc8.tar.gz golite-7133e5d7f58869b174d0e412322c68ac78b77cc8.tar.xz |
ignore errors in teardown
Diffstat (limited to 'sqlite3_test.go')
-rw-r--r-- | sqlite3_test.go | 4 |
1 files 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") } |