mirror of
https://github.com/pestphp/pest.git
synced 2026-06-11 21:48:26 +02:00
fix: retry output expected string
This commit is contained in:
@ -435,6 +435,11 @@ trait Testable
|
||||
|
||||
if ($hasOutputExpectation) {
|
||||
ob_clean();
|
||||
|
||||
Closure::bind(function (): void {
|
||||
$this->outputExpectedString = null;
|
||||
$this->outputExpectedRegex = null;
|
||||
}, $this, TestCase::class)();
|
||||
}
|
||||
|
||||
$this->setUp();
|
||||
|
||||
Reference in New Issue
Block a user