Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-develope committed Oct 28, 2022
1 parent d6347ef commit 36a150e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions testutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,6 @@ func assertIterator(t *testing.T, itr db.Iterator, mirror [][]string, ascending
for startIdx != endIdx {
nextExpectedPair := mirror[mirrorIdx]

if !itr.Valid() {
t.Log(itr)
}
require.True(t, itr.Valid())
require.Equal(t, []byte(nextExpectedPair[0]), itr.Key())
require.Equal(t, []byte(nextExpectedPair[1]), itr.Value())
Expand Down

0 comments on commit 36a150e

Please sign in to comment.