diff options
Diffstat (limited to 'connection_handler_test.go')
-rw-r--r-- | connection_handler_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connection_handler_test.go b/connection_handler_test.go index d980041..3f959c7 100644 --- a/connection_handler_test.go +++ b/connection_handler_test.go @@ -174,9 +174,9 @@ func TestConnectionFactory(t *testing.T) { timeout := time.Tick(10 * time.Second) for i := 0; i < n; i++ { select { - case <- completed: + case <-completed: continue - case <- timeout: + case <-timeout: t.Fatal("timeout") } } |