From fb287dce2f6f8c1701d4c3beb4d8093d844d5ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Mon, 18 Jun 2018 16:12:19 +0200 Subject: [PATCH] Fix tests --- pkg/irc/conn_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/irc/conn_test.go b/pkg/irc/conn_test.go index 5cea38a6..7f5979da 100644 --- a/pkg/irc/conn_test.go +++ b/pkg/irc/conn_test.go @@ -141,7 +141,7 @@ func TestRecv(t *testing.T) { func TestRecvTriggersReconnect(t *testing.T) { c := testClient() c.conn = &mockConn{} - c.reader = bufio.NewReader(&bytes.Buffer{}) + c.reader = bufio.NewReader(bytes.NewBufferString("001 bob\r\n")) done := make(chan struct{}) ok := false go func() {