diff options
Diffstat (limited to 'service/health/service_test.go')
-rw-r--r-- | service/health/service_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/health/service_test.go b/service/health/service_test.go index f5426434..fc743a62 100644 --- a/service/health/service_test.go +++ b/service/health/service_test.go @@ -33,7 +33,8 @@ func (cfg *testCfg) Get(name string) service.Config { } func (cfg *testCfg) Unmarshal(out interface{}) error { - err := json.Unmarshal([]byte(cfg.target), out) + j := json.ConfigCompatibleWithStandardLibrary + err := j.Unmarshal([]byte(cfg.target), out) return err } |