diff --git a/chat/room_test.go b/chat/room_test.go index 171c1dd..82f897c 100644 --- a/chat/room_test.go +++ b/chat/room_test.go @@ -105,7 +105,7 @@ func TestIgnore(t *testing.T) { t.Fatalf("should have %d ignored users, has %d", 1, len(ignoredList)) } - // ignoring the same user twice returns an error message and doesn't add the user twice + // when an emote is sent by an ignored user, it should not be displayed ch.Send(message.NewEmoteMsg("crying", ignored.user)) if ignorer.user.HasMessages() { t.Fatal("should not have emote messages")