Merge pull request #1761 from mmorel-35/testifylint/expected-actual

enable all rules of testifylint linter
pull/1764/head
shirou 5 months ago committed by GitHub
commit d621e0f6f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -58,8 +58,4 @@ linters-settings:
- io
- os
testifylint:
disable:
- expected-actual
- float-compare
- require-error
enabel-all: true
enable-all: true

@ -172,7 +172,7 @@ func TestFillFromTIDStatWithContext_lx_brandz(t *testing.T) {
if err != nil {
t.Error(err)
}
assert.Equal(t, float64(0), cpuTimes.Iowait)
assert.Zero(t, cpuTimes.Iowait)
}
}

Loading…
Cancel
Save