diff options
Diffstat (limited to 'service/http/ssl_test.go')
-rw-r--r-- | service/http/ssl_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/service/http/ssl_test.go b/service/http/ssl_test.go index cf147be9..8078a3a7 100644 --- a/service/http/ssl_test.go +++ b/service/http/ssl_test.go @@ -2,14 +2,15 @@ package http import ( "crypto/tls" - "github.com/sirupsen/logrus" - "github.com/sirupsen/logrus/hooks/test" - "github.com/spiral/roadrunner/service" - "github.com/stretchr/testify/assert" "io/ioutil" "net/http" "testing" "time" + + "github.com/sirupsen/logrus" + "github.com/sirupsen/logrus/hooks/test" + "github.com/spiral/roadrunner/service" + "github.com/stretchr/testify/assert" ) var sslClient = &http.Client{ @@ -245,7 +246,6 @@ func Test_SSL_Service_Push(t *testing.T) { assert.Equal(t, 201, r.StatusCode) assert.Equal(t, "WORLD", string(b)) - err2 := r.Body.Close() if err2 != nil { t.Errorf("fail to close the Body: error %v", err2) |