Skip to content

Commit

Permalink
enable all rules of testifylint linter
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 committed Dec 21, 2024
1 parent 3f1658b commit 62267a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,4 @@ linters-settings:
- io
- os
testifylint:
disable:
- expected-actual
- float-compare
- require-error
enabel-all: true
enable-all: true
2 changes: 1 addition & 1 deletion process/process_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 62267a5

Please sign in to comment.