summaryrefslogtreecommitdiff
path: root/service/gzip/service_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/gzip/service_test.go')
-rw-r--r--service/gzip/service_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/gzip/service_test.go b/service/gzip/service_test.go
index 81c2aed3..778bdacd 100644
--- a/service/gzip/service_test.go
+++ b/service/gzip/service_test.go
@@ -27,7 +27,8 @@ func (cfg *testCfg) Get(name string) service.Config {
return nil
}
func (cfg *testCfg) Unmarshal(out interface{}) error {
- return json.Unmarshal([]byte(cfg.target), out)
+ j := json.ConfigCompatibleWithStandardLibrary
+ return j.Unmarshal([]byte(cfg.target), out)
}
func Test_Disabled(t *testing.T) {