()
| 79 | } |
| 80 | |
| 81 | func (db *DB) PostTestCleanup() { |
| 82 | // Check database consistency after every test. |
| 83 | if db.DB != nil { |
| 84 | db.MustCheck() |
| 85 | db.MustClose() |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | // Close closes the database but does NOT delete the underlying file. |
| 90 | func (db *DB) Close() error { |