mirror of
https://github.com/restic/restic.git
synced 2026-11-24 23:15:50 +00:00
walk_test: test correct number of items
This commit is contained in:
1 parent
ca5c0bf78e
commit
18478e2d3d
1 file changed
+4
@@ -1360,6 +1360,10 @@ func TestDelayedWalkTree(t *testing.T) {
|
|||||||
}
|
}
|
||||||
i++
|
i++
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if i != len(walktreeTestItems) {
|
||||||
|
t.Fatalf("got %d items, expected %v", i, len(walktreeTestItems))
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user