mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: snapshots feedback
This commit is contained in:
@ -438,15 +438,7 @@ trait Testable
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($this->__snapshotChanges) === 1) {
|
$this->markTestIncomplete(implode('. ', $this->__snapshotChanges));
|
||||||
$this->markTestIncomplete($this->__snapshotChanges[0]);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$messages = implode(PHP_EOL, array_map(static fn (string $message): string => '- $message', $this->__snapshotChanges));
|
|
||||||
|
|
||||||
$this->markTestIncomplete($messages);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -6,7 +6,7 @@ namespace Pest;
|
|||||||
|
|
||||||
function version(): string
|
function version(): string
|
||||||
{
|
{
|
||||||
return '4.0.0-alpha.4';
|
return '4.0.0-alpha.5';
|
||||||
}
|
}
|
||||||
|
|
||||||
function testDirectory(string $file = ''): string
|
function testDirectory(string $file = ''): string
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Pest Testing Framework 4.0.0-alpha.4.
|
Pest Testing Framework 4.0.0-alpha.5.
|
||||||
|
|
||||||
USAGE: pest <file> [options]
|
USAGE: pest <file> [options]
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
Pest Testing Framework 4.0.0-alpha.4.
|
Pest Testing Framework 4.0.0-alpha.5.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user