Commit 15d232af authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Merge branch 'dev'

parents d7fb0f16 37228366
......@@ -108,4 +108,21 @@ class EcomDev_PHPUnit_Constraint_Config extends PHPUnit_Framework_Constraint
{
return $this->constraint->toString();
}
/**
* 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.
*
* @param mixed $other Evaluated value or object.
* @return string
*/
protected function failureDescription($other)
{
return $this->constraint->failureDescription($other);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment