From 6aa95ef6b705a95f79ba681f87d2c9dddaddb042 Mon Sep 17 00:00:00 2001 From: xtaci Date: Wed, 28 Aug 2019 11:41:48 +0800 Subject: [PATCH] fix incorrect error reporting in tests https://github.com/xtaci/smux/issues/54 --- session_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/session_test.go b/session_test.go index c29ff1a..dde6ac6 100644 --- a/session_test.go +++ b/session_test.go @@ -33,7 +33,6 @@ func setupServer(tb testing.TB) (addr string, stopfunc func(), client net.Conn, go func() { conn, err := ln.Accept() if err != nil { - tb.Error(err) return } go handleConnection(conn)