Skip to content

Commit a3cfeee

Browse files
committed
Add additional entries into arrays to catch mutants
1 parent c4fe618 commit a3cfeee

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/IterableToArrayTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,24 @@ public function fallbackDataProvider(): array
6060
{
6161
return [
6262
'Array w/ keys' => [
63-
['a' => 'b'],
63+
['a' => 'b', 'b' => 'c'],
6464
true,
65-
['a' => 'b'],
65+
['a' => 'b', 'b' => 'c'],
6666
],
6767
'Array w/out keys' => [
68-
['a', 'b'],
68+
['a' => 'b', 'b' => 'c'],
6969
false,
70-
['a', 'b'],
70+
['b', 'c'],
7171
],
7272
'Iterable w/ keys' => [
73-
new ArrayIterator(['a' => 'b']),
73+
new ArrayIterator(['a' => 'b', 'b' => 'c']),
7474
true,
75-
['a' => 'b'],
75+
['a' => 'b', 'b' => 'c'],
7676
],
7777
'Iterable w/out keys' => [
78-
new ArrayIterator(['a', 'b']),
78+
new ArrayIterator(['a' => 'b', 'b' => 'c']),
7979
false,
80-
['a', 'b'],
80+
['b', 'c'],
8181
],
8282
];
8383
}

0 commit comments

Comments
 (0)