summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/gzip/service.go2
-rw-r--r--service/gzip/service_test.go3
2 files changed, 3 insertions, 2 deletions
diff --git a/service/gzip/service.go b/service/gzip/service.go
index 4c6320ad..86069c2f 100644
--- a/service/gzip/service.go
+++ b/service/gzip/service.go
@@ -1,8 +1,8 @@
package gzip
import (
- rrhttp "github.com/spiral/roadrunner/service/http"
"github.com/NYTimes/gziphandler"
+ rrhttp "github.com/spiral/roadrunner/service/http"
"net/http"
)
diff --git a/service/gzip/service_test.go b/service/gzip/service_test.go
index 6f07a1f9..9f897f53 100644
--- a/service/gzip/service_test.go
+++ b/service/gzip/service_test.go
@@ -15,7 +15,7 @@ import (
)
type testCfg struct {
- gzip string
+ gzip string
httpCfg string
static string
target string
@@ -69,6 +69,7 @@ func Test_Disabled(t *testing.T) {
assert.NotNil(t, s)
assert.Equal(t, service.StatusInactive, st)
}
+
// func Test_Files(t *testing.T) {
// logger, _ := test.NewNullLogger()
// logger.SetLevel(logrus.DebugLevel)