Commit bc1ae7e9 authored by Jesper Hansen's avatar Jesper Hansen Committed by Ben Schumacher
Browse files

MM-19237: convert t.Fatal to use require calls (#12660)

parent 5d45aa81
......@@ -20,9 +20,7 @@ func TestEmojiIsValid(t *testing.T) {
Name: "name",
}
if err := emoji.IsValid(); err != nil {
t.Fatal(err)
}
require.Nil(t, emoji.IsValid())
emoji.Id = "1234"
require.NotNil(t, emoji.IsValid())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment