From 48496b42857771d528fd22a2a04fd746b66ce845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Wed, 13 Jan 2016 19:17:13 +0100 Subject: [PATCH] Uncomment TestRecvTriggersReconnect --- irc/conn_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/conn_test.go b/irc/conn_test.go index a25582ef..f4988dc2 100644 --- a/irc/conn_test.go +++ b/irc/conn_test.go @@ -145,7 +145,7 @@ func TestRecvRecoversPanic(t *testing.T) { c.Messages = make(chan *Message, 32) } -/*func TestRecvTriggersReconnect(t *testing.T) { +func TestRecvTriggersReconnect(t *testing.T) { c.reader = bufio.NewReader(&bytes.Buffer{}) c.ready.Add(1) done := make(chan struct{}) @@ -164,7 +164,7 @@ func TestRecvRecoversPanic(t *testing.T) { case <-time.After(100 * time.Millisecond): t.Error("Reconnect not triggered") } -}*/ +} func TestClose(t *testing.T) { defer initTestClient()