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:
Megan Marsh 2018-12-17 13:49:47 -08:00
parent 3cba3da163
commit a734aa2255
1 changed files with 1 additions and 1 deletions

View File

@ -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)