summaryrefslogtreecommitdiff
path: root/service/limit/config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/limit/config_test.go')
-rw-r--r--service/limit/config_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/limit/config_test.go b/service/limit/config_test.go
index aa793623..2f647819 100644
--- a/service/limit/config_test.go
+++ b/service/limit/config_test.go
@@ -13,7 +13,7 @@ func (cfg *mockCfg) Get(name string) service.Config { return nil }
func (cfg *mockCfg) Unmarshal(out interface{}) error { return json.Unmarshal([]byte(cfg.cfg), out) }
func Test_Config_Hydrate_Error1(t *testing.T) {
- cfg := &mockCfg{`{"enable": true}`}
+ cfg := &mockCfg{`{"enable: true}`}
c := &Config{}
assert.Error(t, c.Hydrate(cfg))