Checks that the regular expression `$expected` is not matched in the result.

Parameters

  • mixed $expected
  • mixed $result
  • string $message

Source

						public function assertNoPattern($expected, $result, $message = '{:message}') {
		list($expected, $result) = $this->_normalizeLineEndings($expected, $result);
		$this->assert(!preg_match($expected, $result), $message, compact('expected', 'result'));
	}