Fix test leak

This commit is contained in:
Audrius Butkevicius 2014-10-24 22:23:19 +01:00
parent d8b335ce65
commit cf4ca7b6a8

View File

@ -173,7 +173,7 @@ func TestBlockMapAddUpdateWipe(t *testing.T) {
f3.Flags = 0 f3.Flags = 0
} }
func TestBlockMapFinderLookup(t *testing.T) { func TestBlockFinderLookup(t *testing.T) {
db, f := setup() db, f := setup()
m1 := NewBlockMap(db, "folder1") m1 := NewBlockMap(db, "folder1")
@ -232,4 +232,6 @@ func TestBlockMapFinderLookup(t *testing.T) {
if counter != 1 { if counter != 1 {
t.Fatal("Incorrect count") t.Fatal("Incorrect count")
} }
f1.Flags = 0
} }