Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed May 28, 2024
1 parent f2e9488 commit 1abd19f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ public function testGeneratorPriorTo84()
EODUMP;

$r = new \ReflectionGenerator($generator);
print_r($this->getDump([$r, $r->getExecutingGenerator()]));
$this->assertDumpMatchesFormat($expectedDump, [$r, $r->getExecutingGenerator()]);

foreach ($generator as $v) {
Expand Down Expand Up @@ -603,6 +604,7 @@ function: "Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::foo"
EODUMP;

$r = new \ReflectionGenerator($generator);
print_r($this->getDump([$r, $r->getExecutingGenerator()]));
$this->assertDumpMatchesFormat($expectedDump, [$r, $r->getExecutingGenerator()]);

foreach ($generator as $v) {
Expand Down

0 comments on commit 1abd19f

Please sign in to comment.