From 81eed7d80f800c69d9ee0cae6641a4a047d376b6 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Tue, 12 Nov 2024 16:11:11 +0800 Subject: [PATCH] style: disable false-positive linter Signed-off-by: Zxilly --- internal/diff/result_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/diff/result_test.go b/internal/diff/result_test.go index e96fe7cb44..379824cedc 100644 --- a/internal/diff/result_test.go +++ b/internal/diff/result_test.go @@ -29,7 +29,7 @@ func TestCommonResultFromFullResult(t *testing.T) { err = json.UnmarshalRead(jsonData, crFromJSON) require.NoError(t, err) - assert.Equal(t, cr, crFromJSON) + assert.Equal(t, cr, crFromJSON) //nolint:testifylint } func TestCommonResultFromFullAndCompactJSON(t *testing.T) { @@ -58,5 +58,5 @@ func TestCommonResultFromFullAndCompactJSON(t *testing.T) { err = json.UnmarshalRead(fullJSONData, crFromFullJSON) require.NoError(t, err) - assert.Equal(t, crFromCompactJSON, crFromFullJSON) + assert.Equal(t, crFromCompactJSON, crFromFullJSON) //nolint:testifylint }