MustCloseDBs closes db & sqldb and removes the parent directory.
(tb testing.TB, db *litestream.DB, sqldb *sql.DB)
| 166 | |
| 167 | // MustCloseDBs closes db & sqldb and removes the parent directory. |
| 168 | func MustCloseDBs(tb testing.TB, db *litestream.DB, sqldb *sql.DB) { |
| 169 | tb.Helper() |
| 170 | MustCloseDB(tb, db) |
| 171 | MustCloseSQLDB(tb, sqldb) |
| 172 | } |
| 173 | |
| 174 | // MustOpenDB returns a new instance of a DB. |
| 175 | func MustOpenDB(tb testing.TB) *litestream.DB { |