mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: doNotThrowsExceptions being marked as incomplete
This commit is contained in:
@ -73,7 +73,7 @@ final class TestCaseMethodFactory
|
||||
public ?Closure $closure,
|
||||
) {
|
||||
$this->closure ??= function (): void {
|
||||
Assert::getCount() > 0 ?: self::markTestIncomplete(); // @phpstan-ignore-line
|
||||
(Assert::getCount() > 0 || $this->doesNotPerformAssertions()) ?: self::markTestIncomplete(); // @phpstan-ignore-line
|
||||
};
|
||||
|
||||
$this->bootHigherOrderable();
|
||||
|
||||
Reference in New Issue
Block a user