fix tests

This commit is contained in:
André Roth
2026-06-14 23:57:52 +02:00
parent 06bcce22d4
commit 909c5bb116
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func main() {
if err != nil {
log.Fatalf("Error opening DB %q: %s", dbPath, err)
}
defer db.Close()
defer func() { _ = db.Close() }()
keys := db.KeysByPrefix([]byte(prefix))
if len(keys) == 0 {