Fix test leak

This commit is contained in:
Audrius Butkevicius 2014-10-24 22:23:19 +01:00
parent d8b335ce65
commit cf4ca7b6a8
1 changed files with 3 additions and 1 deletions

View File

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