summaryrefslogtreecommitdiff
path: root/listener_test.go
diff options
context:
space:
mode:
authorDavid Anderson <[email protected]>2017-07-05 17:20:03 -0700
committerDavid Anderson <[email protected]>2017-07-05 17:29:29 -0700
commite03035937341374a9be6eb8459ffe4f23bacd185 (patch)
tree76c0b6da00ab091ce63a658d2e20b1235c0cb54c /listener_test.go
parent6d97c2aa8ea9d9f5a35614d1f4a2a7d6be28ae9a (diff)
Fix golint nits by adding docstrings and simplifying execution flow.fix-golint
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
}
}()