diff options
author | Valery Piashchynski <[email protected]> | 2020-11-30 14:13:31 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-30 14:13:31 +0300 |
commit | d6e7b554ab56ee1f423ce915cc9dbb132457d689 (patch) | |
tree | 0c81d9d509edc40c2988e038a5412ca3409e29ee /plugins | |
parent | ddac6f8fcd8bf740981d2f78d573b46bb61acf56 (diff) |
Remove unused imports
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/static/tests/static_plugin_test.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/static/tests/static_plugin_test.go b/plugins/static/tests/static_plugin_test.go index 5717d1e8..a9cb1fd1 100644 --- a/plugins/static/tests/static_plugin_test.go +++ b/plugins/static/tests/static_plugin_test.go @@ -13,7 +13,6 @@ import ( "time" "github.com/golang/mock/gomock" - j "github.com/json-iterator/go" "github.com/spiral/endure" "github.com/spiral/roadrunner/v2/mocks" "github.com/spiral/roadrunner/v2/plugins/config" @@ -25,8 +24,6 @@ import ( "github.com/stretchr/testify/assert" ) -var json = j.ConfigCompatibleWithStandardLibrary - func TestStaticPlugin(t *testing.T) { cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel), endure.Visualize(endure.StdOut, "")) assert.NoError(t, err) @@ -400,14 +397,6 @@ func get(url string) (string, *http.Response, error) { return string(b), r, err } -func tmpDir() string { - p := os.TempDir() - - r, _ := j.Marshal(p) - - return string(r) -} - func all(fn string) string { f, _ := os.Open(fn) |