mirror of
https://github.com/xtaci/smux.git
synced 2024-04-21 10:51:48 +00:00
fix incorrect error reporting in tests https://github.com/xtaci/smux/issues/54
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user