Fix bad nick test
This commit is contained in:
parent
b9f52a8761
commit
972f568a00
@ -296,6 +296,7 @@ func TestHandleIRCBadNick(t *testing.T) {
|
|||||||
|
|
||||||
i.dispatchMessage(&irc.Message{
|
i.dispatchMessage(&irc.Message{
|
||||||
Command: irc.ERR_ERRONEUSNICKNAME,
|
Command: irc.ERR_ERRONEUSNICKNAME,
|
||||||
|
Params: []string{"nick", "Terrible nick"},
|
||||||
})
|
})
|
||||||
|
|
||||||
// It should print the error message first
|
// It should print the error message first
|
||||||
|
Loading…
Reference in New Issue
Block a user