[MM-19158] Migrate to testify in model/cluster_message_test.go (#12615)

This commit is contained in:
boonwj
2019-10-08 08:02:50 +01:00
committed by Ben Schumacher
parent 041c914de7
commit e5ea44afcb

View File

@@ -22,7 +22,6 @@ func TestClusterMessage(t *testing.T) {
require.Equal(t, "hello", result.Data)
badresult := ClusterMessageFromJson(strings.NewReader("junk"))
if badresult != nil {
t.Fatal("should not have parsed")
}
require.Nil(t, badresult, "should not have parsed")
}