mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 18:41:59 -07:00
Fix test leak
This commit is contained in:
parent
d8b335ce65
commit
cf4ca7b6a8
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user