From c093aa9d0ede00c450f683be6ca58aa67e362134 Mon Sep 17 00:00:00 2001 From: Jason Aten Date: Wed, 16 Sep 2020 06:46:12 -0500 Subject: [PATCH] cleanup lmdb tests --- lmdb_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) } }