diff options
author | Wolfy-J <[email protected]> | 2018-06-13 13:10:59 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-13 13:10:59 +0300 |
commit | 436d4bc263137640b4f0a58e27a82619bca10e85 (patch) | |
tree | 6e3ec0d00c804389f916fae3995c37d29442862d /server_test.go | |
parent | d2c7ee8c0a070b9790d5552d3f607ca01e1ab798 (diff) |
minor improvements
Diffstat (limited to 'server_test.go')
-rw-r--r-- | server_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server_test.go b/server_test.go index 0ae06713..13cacc2c 100644 --- a/server_test.go +++ b/server_test.go @@ -211,7 +211,7 @@ func TestServer_ServerFailure(t *testing.T) { failure := make(chan interface{}) srv.Listen(func(e int, ctx interface{}) { if e == EventServerFailure { - close(failure) + failure <- nil } }) |