diff options
Diffstat (limited to 'server_test.go')
-rw-r--r-- | server_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server_test.go b/server_test.go index 2e92aad8..0ae06713 100644 --- a/server_test.go +++ b/server_test.go @@ -107,7 +107,8 @@ func TestServer_Stop_NotStarted(t *testing.T) { DestroyTimeout: time.Second, }, }) - assert.NoError(t, srv.Stop()) + + srv.Stop() assert.Nil(t, srv.Workers()) } |