protected function PHPUnit_Framework_Constraint_StringMatches::failureDescription

Returns the description of the failure

The beginning of failure messages is "Failed asserting that" in most cases. This method should return the second part of that sentence.

To provide additional failure information additionalFailureDescription can be used.

Parameters

mixed $other Evaluated value or object.:

Return value

string

Overrides PHPUnit_Framework_Constraint::failureDescription

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/StringMatches.php, line 77

Class

PHPUnit_Framework_Constraint_StringMatches
...

Code

protected function failureDescription($other) {
  return "format description matches text";
}