mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00:00
Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367)
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org> Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
This commit is contained in:
parent
51ff4970ec
commit
fed2d81c44
427 changed files with 2043 additions and 2046 deletions
|
@ -105,12 +105,12 @@ func testRepoMigrationFormItems(t *testing.T, items *goquery.Selection, expected
|
|||
t.Helper()
|
||||
|
||||
// Compare lengths of item lists
|
||||
assert.EqualValues(t, len(expectedItems), items.Length())
|
||||
assert.Equal(t, len(expectedItems), items.Length())
|
||||
|
||||
// Compare contents of item lists
|
||||
for index, expectedName := range expectedItems {
|
||||
name, exists := items.Eq(index).Attr("name")
|
||||
assert.True(t, exists)
|
||||
assert.EqualValues(t, expectedName, name)
|
||||
assert.Equal(t, expectedName, name)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue