diff --git a/pkg/local_object_storage/blobstor/internal/blobstortest/iterate.go b/pkg/local_object_storage/blobstor/internal/blobstortest/iterate.go index f54c255b979..e06c95a5398 100644 --- a/pkg/local_object_storage/blobstor/internal/blobstortest/iterate.go +++ b/pkg/local_object_storage/blobstor/internal/blobstortest/iterate.go @@ -95,7 +95,7 @@ func TestIterate(t *testing.T, cons Constructor, min, max uint64) { } _, err := s.Iterate(iterPrm) - require.Equal(t, logicErr, err) + require.ErrorIs(t, err, logicErr) require.Equal(t, len(objects)/2, len(seen)) for i := range objects { d, ok := seen[objects[i].addr.String()]