mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-30 19:06:21 +00:00
cs: only assert important stuff
This commit is contained in:
committed by
Jack Zampolin
parent
564d6a203a
commit
714948505b
@@ -137,7 +137,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