We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 573f1f8 + 6374178 commit daea9ecCopy full SHA for daea9ec
Tests/Iterator/LazyIteratorTest.php
@@ -29,7 +29,7 @@ public function testDelegate()
29
{
30
$iterator = new LazyIterator(fn () => new Iterator(['foo', 'bar']));
31
32
- $this->assertCount(2, $iterator);
+ $this->assertCount(2, iterator_to_array($iterator));
33
}
34
35
public function testInnerDestructedAtTheEnd()
0 commit comments