Skip to content

Commit

Permalink
Add example of Dict\merge with numeric keys (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee authored Jul 11, 2023
1 parent a5466a3 commit b0e98cd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/unit/Dict/MergeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ public function provideData(): array
['d' => 'e'],
],

[
[0 => 'b', '1000' => 'b', 'c' => 'c'],

[0 => 'a'],
[0 => 'b'],
['1000' => 'a'],
['1000' => 'b'],
['c' => 'c'],
],

[
[1, 2, 9, 8],
[0 => 1, 1 => 2],
Expand Down

0 comments on commit b0e98cd

Please sign in to comment.