@@ -25,8 +25,8 @@ |
||
25 | 25 | protected function doValidation(Response $response) |
26 | 26 | { |
27 | 27 | foreach ($this->regExs as $regEx) { |
28 | - $this->assert(preg_match('^' . $regEx . '^', (string) $response->getBody()) > 0, |
|
29 | - 'The given regular expression (' . $regEx . ') was not found in this document.'); |
|
28 | + $this->assert(preg_match('^'.$regEx.'^', (string) $response->getBody()) > 0, |
|
29 | + 'The given regular expression ('.$regEx.') was not found in this document.'); |
|
30 | 30 | } |
31 | 31 | } |
32 | 32 | } |