walk_test: test correct number of items

This commit is contained in:
Alexander Neumann 2015-10-27 21:19:54 +01:00
parent ca5c0bf78e
commit 18478e2d3d
1 changed files with 4 additions and 0 deletions

View File

@ -1360,6 +1360,10 @@ func TestDelayedWalkTree(t *testing.T) {
}
i++
}
if i != len(walktreeTestItems) {
t.Fatalf("got %d items, expected %v", i, len(walktreeTestItems))
}
})
}