diff options
Diffstat (limited to 'service/health/config_test.go')
-rw-r--r-- | service/health/config_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/service/health/config_test.go b/service/health/config_test.go index ba7d7c12..c02c46fc 100644 --- a/service/health/config_test.go +++ b/service/health/config_test.go @@ -1,16 +1,17 @@ package health import ( - json "github.com/json-iterator/go" "testing" + json "github.com/json-iterator/go" + "github.com/spiral/roadrunner/service" "github.com/stretchr/testify/assert" ) type mockCfg struct{ cfg string } -func (cfg *mockCfg) Get(name string) service.Config { return nil } +func (cfg *mockCfg) Get(name string) service.Config { return nil } func (cfg *mockCfg) Unmarshal(out interface{}) error { j := json.ConfigCompatibleWithStandardLibrary return j.Unmarshal([]byte(cfg.cfg), out) |