mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-05-30 07:09:23 +03:00
Fix test comment
This commit is contained in:
parent
7169ee1240
commit
fde04365ac
@ -105,7 +105,7 @@ func TestIgnore(t *testing.T) {
|
|||||||
t.Fatalf("should have %d ignored users, has %d", 1, len(ignoredList))
|
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))
|
ch.Send(message.NewEmoteMsg("crying", ignored.user))
|
||||||
if ignorer.user.HasMessages() {
|
if ignorer.user.HasMessages() {
|
||||||
t.Fatal("should not have emote messages")
|
t.Fatal("should not have emote messages")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user