MDL-40842 behat: fixed a typo

This commit is contained in:
Sam Hemelryk 2013-08-01 20:08:30 +12:00
parent 81387cafd5
commit 6cd213567b

View file

@ -250,7 +250,7 @@ class behat_hooks extends behat_base {
// PHP debug messages.
$phperrorxpath = "//div[@data-rel='phpdebugmessage']";
// Any other backtrace.
$othersxpath = "//*[contains(., ': call to ')])[1]";
$othersxpath = "(//*[contains(., ': call to ')])[1]";
$xpaths = array($exceptionsxpath, $debuggingxpath, $phperrorxpath, $othersxpath);
$joinedxpath = implode(' | ', $xpaths);