Audrius Butkevicius пре 11 година
родитељ
комит
cf4ca7b6a8
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      internal/files/blockmap_test.go

+ 3 - 1
internal/files/blockmap_test.go

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