Commit 09e1c64f authored by Denis Hananein's avatar Denis Hananein
Browse files

Fix format without expectation name


Signed-off-by: default avatarDenis Hananein <i@zloylos.me>
parent 0d263789
......@@ -1213,9 +1213,9 @@ class TypedExpectation<R(Args...)> : public ExpectationBase {
if (IsSaturated()) {
// We have an excessive call.
IncrementCallCount();
*what << "Mock function called more times than expected ";
*what << "Mock function called more times than expected";
if (!expectation_name.empty()) {
*what << "for \"" << expectation_name << "\" ";
*what << " for \"" << expectation_name << "\"";
}
*what << " - ";
mocker->DescribeDefaultActionTo(args, what);
......
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