diff options
author | Wolfy-J <[email protected]> | 2019-05-04 23:08:28 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-05-04 23:08:28 +0300 |
commit | 2fb995876b208dc40912d11764262e33920dd4fa (patch) | |
tree | 43ad0c9b37ebdb3d2932222feb82b20cfec5c634 /service | |
parent | 3800c27ff9ec2641248d6dc2ce2f7ab56c237664 (diff) |
golint
Diffstat (limited to 'service')
-rw-r--r-- | service/limit/config_test.go | 2 |
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)) |