Skip to content

Commit

Permalink
Merge pull request #1761 from mmorel-35/testifylint/expected-actual
Browse files Browse the repository at this point in the history
enable all rules of testifylint linter
  • Loading branch information
shirou authored Dec 23, 2024
2 parents 6ee5668 + 62267a5 commit d621e0f
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 d621e0f

Please sign in to comment.