Update irc nick test
This commit is contained in:
parent
e84f2dd993
commit
ee42e5300a
@ -43,7 +43,6 @@ func TestPass(t *testing.T) {
|
|||||||
func TestNick(t *testing.T) {
|
func TestNick(t *testing.T) {
|
||||||
c, out := testClientSend()
|
c, out := testClientSend()
|
||||||
c.Nick("test2")
|
c.Nick("test2")
|
||||||
assert.Equal(t, "test2", c.GetNick())
|
|
||||||
assert.Equal(t, "NICK test2\r\n", <-out)
|
assert.Equal(t, "NICK test2\r\n", <-out)
|
||||||
|
|
||||||
c.writeNick("nick")
|
c.writeNick("nick")
|
||||||
|
Loading…
Reference in New Issue
Block a user