summaryrefslogtreecommitdiff
path: root/service/http
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-06-24 13:58:54 +0300
committerWolfy-J <[email protected]>2019-06-24 13:58:54 +0300
commited7ba40a04f32d04f1e565fe0fb973aa0e0574a9 (patch)
treec22f6bd6ca1d39ecc7e3e2badc160ddad7d06749 /service/http
parentd8ccbb94a5915a1957beb162d3c2ecb668087ef3 (diff)
go fmt
Diffstat (limited to 'service/http')
-rw-r--r--service/http/fcgi_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/http/fcgi_test.go b/service/http/fcgi_test.go
index 6b6cd0f3..58fbe557 100644
--- a/service/http/fcgi_test.go
+++ b/service/http/fcgi_test.go
@@ -5,11 +5,11 @@ import (
"github.com/sirupsen/logrus/hooks/test"
"github.com/spiral/roadrunner/service"
"github.com/stretchr/testify/assert"
+ "github.com/yookoala/gofast"
"io/ioutil"
"net/http/httptest"
"testing"
"time"
- "github.com/yookoala/gofast"
)
func Test_FCGI_Service_Echo(t *testing.T) {
@@ -51,7 +51,7 @@ func Test_FCGI_Service_Echo(t *testing.T) {
req := httptest.NewRequest("GET", "http://site.local/?hello=world", nil)
fcgiHandler.ServeHTTP(w, req)
- body, err := ioutil.ReadAll(w.Result().Body);
+ body, err := ioutil.ReadAll(w.Result().Body)
assert.NoError(t, err)
assert.Equal(t, 201, w.Result().StatusCode)