mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
Migrates to Pint
This commit is contained in:
@ -35,16 +35,17 @@ it('adds coverage if --min exist', function () {
|
||||
});
|
||||
|
||||
it('generates coverage based on file input', function () {
|
||||
expect(Coverage::getMissingCoverage(new class() {
|
||||
expect(Coverage::getMissingCoverage(new class()
|
||||
{
|
||||
public function lineCoverageData(): array
|
||||
{
|
||||
return [
|
||||
1 => ['foo'],
|
||||
2 => ['bar'],
|
||||
4 => [],
|
||||
5 => [],
|
||||
6 => [],
|
||||
7 => null,
|
||||
1 => ['foo'],
|
||||
2 => ['bar'],
|
||||
4 => [],
|
||||
5 => [],
|
||||
6 => [],
|
||||
7 => null,
|
||||
100 => null,
|
||||
101 => ['foo'],
|
||||
102 => [],
|
||||
|
||||
Reference in New Issue
Block a user