Skip to content

Commit 92a1098

Browse files
committed
test: 100%
1 parent 8df5e1f commit 92a1098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ArrayTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ public function test_compact()
2828

2929
public function test_flatten()
3030
{
31-
$array = [0, 'a', '', [[1, [2]]], 'b', [[[3]], 4, 'c']];
31+
$array = [0, 'a', '', [[1, [2]]], 'b', [[[3]], 4, 'c', new _([5, 'd'])]];
3232

3333
$this->assertSame(
34-
[0, 'a', '', 1, 2, 'b', 3, 4, 'c'],
34+
[0, 'a', '', 1, 2, 'b', 3, 4, 'c', 5, 'd'],
3535
_::_($array)->flatten()->get(),
3636
'flatten'
3737
);

0 commit comments

Comments
 (0)