Fail more explicitely in cluster state tests
Co-authored-by: Leo Antunes <leo@costela.net>
This commit is contained in:
parent
e9b9239eae
commit
66b0321bf7
|
@ -22,7 +22,9 @@ func Test_state_save_soad(t *testing.T) {
|
|||
},
|
||||
}
|
||||
|
||||
cluster.state.save()
|
||||
if err := cluster.state.save(); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
loaded := &state{}
|
||||
loadState(loaded)
|
||||
|
||||
|
|
Loading…
Reference in New Issue