Skip to content

Commit

Permalink
Test a duplicate value located deep in a multidimensional array.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrenssen committed Jun 27, 2018
1 parent 3c8a4b7 commit b74749b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/Framework/Constraint/ArraySubsetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ public static function evaluateDataProvider()
'expected' => true,
'subset' => new \ArrayObject([
[[3, 4], '2'],
'10',
[[3, 4], '2'],
'10',
]),
'other' => [
Expand All @@ -324,7 +324,11 @@ public static function evaluateDataProvider()
'ab' => [5, 4, 3],
'ac' => 10,
],
'b' => '10',
'b' => [
'ba' => [3, 4, 5],
'bb' => 10,
'bc' => '2',
],
],
'strict' => true,
],
Expand Down

0 comments on commit b74749b

Please sign in to comment.