mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-08 00:56:39 +00:00
cs: only assert important stuff
This commit is contained in:
committed by
Jack Zampolin
parent
6dee1101ba
commit
e78255cba2
@@ -135,7 +135,7 @@ func TestWALWrite(t *testing.T) {
|
||||
}
|
||||
err = wal.Write(msg)
|
||||
if assert.Error(t, err) {
|
||||
assert.Equal(t, "msg is too big: 1048593 bytes, max: 1048576 bytes", err.Error())
|
||||
assert.Contains(t, err.Error(), "msg is too big")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user