From 6ea3b7a348191bdd55286a52d8b01587b51c048d Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sat, 21 Dec 2024 14:04:18 +0100 Subject: [PATCH] enable all rules of testifylint linter Signed-off-by: Matthieu MOREL --- .golangci.yml | 2 +- process/process_linux_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) } }