From: Sam Hemelryk Date: Thu, 1 Aug 2013 08:08:30 +0000 (+1200) Subject: MDL-40842 behat: fixed a typo X-Git-Tag: v2.6.0-beta~791 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=6cd213567b2710278e14e024208f1120142d54d9;ds=sidebyside MDL-40842 behat: fixed a typo --- diff --git a/lib/tests/behat/behat_hooks.php b/lib/tests/behat/behat_hooks.php index bbbe7ccc67f..43582fcdb42 100644 --- a/lib/tests/behat/behat_hooks.php +++ b/lib/tests/behat/behat_hooks.php @@ -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);