Fix dbtest util (#10403)

This commit is contained in:
2021-10-19 13:52:49 +00:00
committed by GitHub
parent 85eed1f359
commit 2cbdf8f49b
+2 -2
View File
@@ -23,8 +23,8 @@ func AssertDomain(t *testing.T, itr dbm.Iterator, start, end []byte) {
func AssertItem(t *testing.T, itr dbm.Iterator, key, value []byte) {
t.Helper()
assert.Exactly(t, itr.Key(), k)
assert.Exactly(t, itr.Value(), v)
assert.Exactly(t, key, itr.Key())
assert.Exactly(t, value, itr.Value())
}
func AssertInvalid(t *testing.T, itr dbm.Iterator) {