Revert "mux_broker_test.go: make non blocking errChan"
This reverts commit d9e32d437c
. It turns out that it was already non-blocking with a length of one.
This commit is contained in:
parent
3cba3da163
commit
a734aa2255
|
@ -18,7 +18,7 @@ func TestMuxBroker(t *testing.T) {
|
|||
go bc.Run()
|
||||
go bs.Run()
|
||||
|
||||
errChan := make(chan error, 2)
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
defer close(errChan)
|
||||
c, err := bc.Dial(5)
|
||||
|
|
Loading…
Reference in New Issue