summaryrefslogtreecommitdiff
path: root/listener_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'listener_test.go')
-rw-r--r--listener_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/listener_test.go b/listener_test.go
index 35f888e..70087ca 100644
--- a/listener_test.go
+++ b/listener_test.go
@@ -28,9 +28,8 @@ func TestListenerAccept(t *testing.T) {
if err != nil {
ch <- err
return
- } else {
- ch <- conn
}
+ ch <- conn
}
}()