fixes more linting
This commit is contained in:
parent
d15a5d9dc9
commit
b91679a482
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user