[#1689] linter: Fix testifylint warning: 'len: use require.Len'
All checks were successful
Vulncheck / Vulncheck (push) Successful in 1m3s
Pre-commit hooks / Pre-commit (push) Successful in 1m27s
Build / Build Components (push) Successful in 2m6s
Tests and linters / gopls check (push) Successful in 3m32s
Tests and linters / Run gofumpt (push) Successful in 4m2s
Tests and linters / Tests with -race (push) Successful in 4m11s
Tests and linters / Lint (push) Successful in 4m20s
Tests and linters / Tests (push) Successful in 4m44s
Tests and linters / Staticcheck (push) Successful in 4m42s
OCI image / Build container images (push) Successful in 4m54s
All checks were successful
Vulncheck / Vulncheck (push) Successful in 1m3s
Pre-commit hooks / Pre-commit (push) Successful in 1m27s
Build / Build Components (push) Successful in 2m6s
Tests and linters / gopls check (push) Successful in 3m32s
Tests and linters / Run gofumpt (push) Successful in 4m2s
Tests and linters / Tests with -race (push) Successful in 4m11s
Tests and linters / Lint (push) Successful in 4m20s
Tests and linters / Tests (push) Successful in 4m44s
Tests and linters / Staticcheck (push) Successful in 4m42s
OCI image / Build container images (push) Successful in 4m54s
Change-Id: I7a08f09c169ac237647dcb20b0737f1c51c441ad Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
6f7b6b65f3
commit
b0ef737a74
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ func runTestNormalHandler(t *testing.T, s common.Storage, objects []objectDesc)
|
|||
|
||||
_, err := s.Iterate(context.Background(), iterPrm)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, len(objects), len(seen))
|
||||
require.Len(t, objects, len(seen))
|
||||
for i := range objects {
|
||||
d, ok := seen[objects[i].addr.String()]
|
||||
require.True(t, ok)
|
||||
|
|
Loading…
Add table
Reference in a new issue