diff --git a/.golangci.yml b/.golangci.yml index 00ceb01af..1aeb6fcb9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -58,8 +58,4 @@ linters-settings: - io - os testifylint: - disable: - - expected-actual - - float-compare - - require-error - enabel-all: true \ No newline at end of file + enable-all: true diff --git a/process/process_linux_test.go b/process/process_linux_test.go index 71364676b..11b964517 100644 --- a/process/process_linux_test.go +++ b/process/process_linux_test.go @@ -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) } }