mirror of
https://github.com/restic/restic.git
synced 2024-12-25 09:18:55 +00:00
walk_test: test correct number of items
This commit is contained in:
parent
ca5c0bf78e
commit
18478e2d3d
1 changed files with 4 additions and 0 deletions
|
@ -1360,6 +1360,10 @@ func TestDelayedWalkTree(t *testing.T) {
|
|||
}
|
||||
i++
|
||||
}
|
||||
|
||||
if i != len(walktreeTestItems) {
|
||||
t.Fatalf("got %d items, expected %v", i, len(walktreeTestItems))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue