diff --git a/.golangci.yml b/.golangci.yml index 00ceb01af..63c6c9230 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -62,4 +62,4 @@ linters-settings: - 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) } }