db: goleveldb iterator

This commit is contained in:
Ethan Buchman
2017-12-12 20:38:03 -05:00
parent 39e40ff5ce
commit 3e5dbef6a2
3 changed files with 23 additions and 21 deletions

View File

@ -80,11 +80,6 @@ func TestDBIteratorTwoKeys(t *testing.T) {
itr := db.Iterator(BeginningKey(), EndingKey())
checkValid(t, itr, true)
for i := 0; i < 10; i++ {
checkNext(t, itr, true)
checkValid(t, itr, true)
}
checkNext(t, itr, true)
checkValid(t, itr, true)