mirror of
https://github.com/filp/whoops.git
synced 2026-09-01 21:18:04 +00:00
Merge pull request #193 from RickWong/master
Specify correct delimiter for preg_quote() call.
This commit is contained in:
@@ -350,7 +350,7 @@ class RunTest extends TestCase
|
||||
})
|
||||
;
|
||||
|
||||
$run->silenceErrorsInPaths('@^'.preg_quote(__FILE__).'$@', E_USER_NOTICE);
|
||||
$run->silenceErrorsInPaths('@^'.preg_quote(__FILE__, '@').'$@', E_USER_NOTICE);
|
||||
trigger_error('Test', E_USER_NOTICE);
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user