mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-19158] Migrate to testify in model/cluster_message_test.go (#12615)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user