From 713b4dbfcb5cec00b2309314b2995814db89203f Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 13 Nov 2023 20:23:26 +0100 Subject: [PATCH] fix-lint --- models/user/search_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/user/search_test.go b/models/user/search_test.go index fda12a3ca96..6699f88cde1 100644 --- a/models/user/search_test.go +++ b/models/user/search_test.go @@ -37,7 +37,7 @@ func TestBuildCanSeeUserCondition(t *testing.T) { assert.NotNil(t, cond) ids := getIDs(cond) assert.Len(t, ids, 24) - assert.EqualValues(t, []int64([]int64{1, 2, 4, 5, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24, 27, 28, 29, 30, 32, 34}), ids) + assert.EqualValues(t, []int64{1, 2, 4, 5, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24, 27, 28, 29, 30, 32, 34}, ids) // normal user cond = user.BuildCanSeeUserCondition(getUser(t, 5))