summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 23:08:28 +0300
committerWolfy-J <[email protected]>2019-05-04 23:08:28 +0300
commit2fb995876b208dc40912d11764262e33920dd4fa (patch)
tree43ad0c9b37ebdb3d2932222feb82b20cfec5c634
parent3800c27ff9ec2641248d6dc2ce2f7ab56c237664 (diff)
golint
-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))