diff options
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 } }) |