From fde04365ac170ec595a934cdf7e31c350e3652cf Mon Sep 17 00:00:00 2001 From: Abdelkader Bouadjadja <abdelkader@propertyfinder.ae> Date: Thu, 30 Apr 2020 00:34:40 +0400 Subject: [PATCH] Fix test comment --- chat/room_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")