We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebf4f31 + 2cb8966 commit b98a9afCopy full SHA for b98a9af
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