Browse Source

cs: only assert important stuff

v0.31
Anton Kaliaev 5 years ago
committed by Jack Zampolin
parent
commit
e78255cba2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consensus/wal_test.go

+ 1
- 1
consensus/wal_test.go View File

@ -135,7 +135,7 @@ func TestWALWrite(t *testing.T) {
} }
err = wal.Write(msg) err = wal.Write(msg)
if assert.Error(t, err) { 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")
} }
} }


Loading…
Cancel
Save