Skip to content

Commit

Permalink
E2E Test Utils: Make error pattern more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Mar 25, 2019
1 parent c22e3b7 commit 4735627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/e2e-test-utils/src/has-php-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @type RegExp
*/
const REGEXP_PHP_ERROR = /<b>(Fatal error|Recoverable fatal error|Warning|Parse error|Notice|Strict Standards|Deprecated|Unknown error)<\/b>/;
const REGEXP_PHP_ERROR = /<b>(Fatal error|Recoverable fatal error|Warning|Parse error|Notice|Strict Standards|Deprecated|Unknown error)<\/b>: /;

/**
* Returns a promise resolving to a boolean reflecting whether a PHP notice is
Expand Down

0 comments on commit 4735627

Please sign in to comment.