1
0
mirror of https://github.com/octoleo/syncthing.git synced 2025-01-11 10:38:16 +00:00

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
}
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
}