Skip to content

Commit

Permalink
In progress...
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed Mar 19, 2024
1 parent 3a3dcba commit 4544f5c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/unit/ArrayView/ReadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function testMatchAndFilter(array $source, callable $predicate, array $ex
*/
public function testMatchWith(
array $source,
array $another,
$another,
callable $comparator,
array $expectedMask,
array $expectedArray
Expand Down Expand Up @@ -502,6 +502,13 @@ public function dataProviderForMatchWith(): array
[true, false, true, true, true, true, true, true, false, true],
[1, 3, 4, 5, 6, 7, 8, 10],
],
[
[1, 2, 3],
1,
fn (int $lhs, int $rhs) => $lhs > $rhs,
[false, true, true],
[1, 3, 4, 5, 6, 7, 8, 10],
],
];
}

Expand Down

0 comments on commit 4544f5c

Please sign in to comment.