Skip to content

Commit

Permalink
tests: fix tests
Browse files Browse the repository at this point in the history
`foldLeft` and `foldRight` has been updated and now need two arguments instead of one.
  • Loading branch information
drupol committed Nov 2, 2022
1 parent 25ed050 commit 1233c49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/Traits/GenericCollectionProviders.php
Original file line number Diff line number Diff line change
Expand Up @@ -1737,6 +1737,7 @@ public function foldLeftOperationProvider()
$operation,
[
static fn (string $carry, string $string): string => sprintf('%s%s', $carry, $string), 'foo',
null
],
[],
'foo',
Expand Down Expand Up @@ -1764,6 +1765,7 @@ static function (string $carry, string $item): string {

return $carry;
},
null
],
[],
null,
Expand Down

0 comments on commit 1233c49

Please sign in to comment.