mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 05:46:32 +00:00
committed by
Alexander Simmerl
parent
724e264ff5
commit
561fc2d717
@@ -57,7 +57,7 @@ func checkKeyPanics(t *testing.T, itr Iterator) {
|
||||
}
|
||||
|
||||
func checkValuePanics(t *testing.T, itr Iterator) {
|
||||
assert.Panics(t, func() { itr.Key() }, "checkValuePanics expected panic but didn't")
|
||||
assert.Panics(t, func() { itr.Value() }, "checkValuePanics expected panic but didn't")
|
||||
}
|
||||
|
||||
func newTempDB(t *testing.T, backend DBBackendType) (db DB, dbDir string) {
|
||||
|
||||
Reference in New Issue
Block a user