Skip to content

Commit 5a2836a

Browse files
committed
Fix expected frame count
1 parent 34f820b commit 5a2836a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/TidewaysXHProfTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function setUp()
1818
public function testDefaults()
1919
{
2020
$data = $this->runProfiler();
21-
$this->assertCount(3, $data);
21+
$this->assertCount(2, $data);
2222
}
2323

2424
public function testCpuFlags()
@@ -27,7 +27,7 @@ public function testCpuFlags()
2727
ProfilingFlags::CPU,
2828
);
2929
$data = $this->runProfiler($flags);
30-
$this->assertCount(3, $data);
30+
$this->assertCount(2, $data);
3131
$main = $data['main()'];
3232
$this->assertArrayHasKey('cpu', $main);
3333
}
@@ -39,7 +39,7 @@ public function testCpuMemoryFlags()
3939
ProfilingFlags::MEMORY,
4040
);
4141
$data = $this->runProfiler($flags);
42-
$this->assertCount(3, $data);
42+
$this->assertCount(2, $data);
4343

4444
$main = $data['main()'];
4545
$this->assertArrayHasKey('cpu', $main);

0 commit comments

Comments
 (0)