We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d19da8 commit cd93a3fCopy full SHA for cd93a3f
src/TestFramework/PhpUnit/Adapter/PestAdapter.php
@@ -76,7 +76,7 @@ public function testsPass(string $output): bool
76
77
public function isSyntaxError(string $output): bool
78
{
79
- return preg_match('/ParseError\s*syntax error/i', $output) === 1;
+ return preg_match('/(ParseError\s*syntax error|Syntax Error for Pest)/i', $output) === 1;
80
}
81
82
public function hasJUnitReport(): bool
tests/e2e/Syntax_Error_Pest/composer.json
@@ -11,5 +11,10 @@
11
"psr-4": {
12
"Syntax_Error_Pest\\Test\\": "tests/"
13
14
+ },
15
+ "config": {
16
+ "allow-plugins": {
17
+ "pestphp/pest-plugin": true
18
+ }
19
20
0 commit comments