summaryrefslogtreecommitdiff
path: root/plugins/gzip
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-01 17:33:47 +0300
committerValery Piashchynski <[email protected]>2020-12-01 17:33:47 +0300
commit3805b875c6498a9697c692c010bc022e8ebd50b0 (patch)
tree00635f6a6e9b1029e302f8e96faa7ab269fb43bd /plugins/gzip
parent84c8234ec01ad1d5ea5f0a8c7dbca9a3012bcb2b (diff)
golangci linters fix
Diffstat (limited to 'plugins/gzip')
-rw-r--r--plugins/gzip/tests/plugin_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gzip/tests/plugin_test.go b/plugins/gzip/tests/plugin_test.go
index c7f12643..39979895 100644
--- a/plugins/gzip/tests/plugin_test.go
+++ b/plugins/gzip/tests/plugin_test.go
@@ -21,7 +21,7 @@ import (
)
func TestGzipPlugin(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel), endure.Visualize(endure.StdOut, ""))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
assert.NoError(t, err)
cfg := &config.Viper{
@@ -102,7 +102,7 @@ func headerCheck(t *testing.T) {
}
func TestMiddlewareNotExist(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel), endure.Visualize(endure.StdOut, ""))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
assert.NoError(t, err)
cfg := &config.Viper{