fixes more linting

This commit is contained in:
Marvin Steadfast 2020-03-31 11:07:18 +02:00
parent d15a5d9dc9
commit b91679a482
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ name: default
type: docker
steps:
- name: lint
image: golangci/golangci-lint:v1.23-alpine
image: golangci/golangci-lint:v1.24-alpine
commands:
- apk add --no-cache make
- make lint

View File

@ -13,8 +13,8 @@ func TestUpdate(t *testing.T) {
s := make(map[string]interface{})
s["foo"] = "foo"
s["bar"] = 1 // nolint:gomnd
s["zonk"] = float64(1) // nolint:gomnd
s["bar"] = 1 // nolint:gomnd
s["zonk"] = float64(1) // nolint:gomnd
mockStater := &MockStater{}
mockStater.On("Now", "http://foo.tld").Return(s)