[MM-19158] Migrate to testify in model/cluster_message_test.go (#12615)
Этот коммит содержится в:
коммит произвёл
Ben Schumacher
родитель
041c914de7
Коммит
e5ea44afcb
@@ -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")
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user