Skip to content

Commit 47a6321

Browse files
committed
fix(lint): fixed false positives in tests (testifylint)
Signed-off-by: Frédéric BIDON <[email protected]>
1 parent 7c8c5e9 commit 47a6321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schema_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ func TestSchema(t *testing.T) {
200200
exp1 := expEx[0].(map[string]interface{})
201201
exp2 := expEx[1].(map[string]interface{})
202202

203-
assert.EqualValues(t, exp1["id"], ex1["id"])
203+
assert.EqualValues(t, exp1["id"], ex1["id"]) //nolint:testifylint // false positive: types are different
204204
assert.Equal(t, exp1["name"], ex1["name"])
205-
assert.EqualValues(t, exp2["id"], ex2["id"])
205+
assert.EqualValues(t, exp2["id"], ex2["id"]) //nolint:testifylint // false positive: types are different
206206
assert.Equal(t, exp2["name"], ex2["name"])
207207
}
208208

0 commit comments

Comments
 (0)