fixes more linting
This commit is contained in:
parent
d15a5d9dc9
commit
b91679a482
@ -4,7 +4,7 @@ name: default
|
|||||||
type: docker
|
type: docker
|
||||||
steps:
|
steps:
|
||||||
- name: lint
|
- name: lint
|
||||||
image: golangci/golangci-lint:v1.23-alpine
|
image: golangci/golangci-lint:v1.24-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache make
|
- apk add --no-cache make
|
||||||
- make lint
|
- make lint
|
||||||
|
@ -13,8 +13,8 @@ func TestUpdate(t *testing.T) {
|
|||||||
|
|
||||||
s := make(map[string]interface{})
|
s := make(map[string]interface{})
|
||||||
s["foo"] = "foo"
|
s["foo"] = "foo"
|
||||||
s["bar"] = 1 // nolint:gomnd
|
s["bar"] = 1 // nolint:gomnd
|
||||||
s["zonk"] = float64(1) // nolint:gomnd
|
s["zonk"] = float64(1) // nolint:gomnd
|
||||||
mockStater := &MockStater{}
|
mockStater := &MockStater{}
|
||||||
mockStater.On("Now", "http://foo.tld").Return(s)
|
mockStater.On("Now", "http://foo.tld").Return(s)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user