Skip to content

Commit

Permalink
style: disable false-positive linter
Browse files Browse the repository at this point in the history
Signed-off-by: Zxilly <[email protected]>
  • Loading branch information
Zxilly committed Nov 12, 2024
1 parent d92d0d4 commit 81eed7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/diff/result_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 32 in internal/diff/result_test.go

View workflow job for this annotation

GitHub Actions / GolangCI Lint

directive `//nolint:testifylint` should provide explanation such as `//nolint:testifylint // this is why` (nolintlint)

Check failure on line 32 in internal/diff/result_test.go

View workflow job for this annotation

GitHub Actions / GolangCI Lint

directive `//nolint:testifylint` should provide explanation such as `//nolint:testifylint // this is why` (nolintlint)
}

func TestCommonResultFromFullAndCompactJSON(t *testing.T) {
Expand Down Expand Up @@ -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

Check failure on line 61 in internal/diff/result_test.go

View workflow job for this annotation

GitHub Actions / GolangCI Lint

directive `//nolint:testifylint` should provide explanation such as `//nolint:testifylint // this is why` (nolintlint)

Check failure on line 61 in internal/diff/result_test.go

View workflow job for this annotation

GitHub Actions / GolangCI Lint

directive `//nolint:testifylint` should provide explanation such as `//nolint:testifylint // this is why` (nolintlint)
}

0 comments on commit 81eed7d

Please sign in to comment.