diff --git a/lmdb_test.go b/lmdb_test.go index f052892ea..2b69a9927 100644 --- a/lmdb_test.go +++ b/lmdb_test.go @@ -101,7 +101,7 @@ func mustOpenEmptyLMDBWrapper(path string) (w *LMDBWrapper, cleaner func()) { return w, func() { w.Close() - panicOn(w.DeleteDBPath(&DBShard{HolderPath: fn})) + panicOn(os.RemoveAll(fn)) } }