Skip to content

Commit 09e1c64

Browse files
author
Denis Hananein
committed
Fix format without expectation name
Signed-off-by: Denis Hananein <i@zloylos.me>
1 parent 0d26378 commit 09e1c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

googlemock/include/gmock/gmock-spec-builders.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,9 +1213,9 @@ class TypedExpectation<R(Args...)> : public ExpectationBase {
12131213
if (IsSaturated()) {
12141214
// We have an excessive call.
12151215
IncrementCallCount();
1216-
*what << "Mock function called more times than expected ";
1216+
*what << "Mock function called more times than expected";
12171217
if (!expectation_name.empty()) {
1218-
*what << "for \"" << expectation_name << "\" ";
1218+
*what << " for \"" << expectation_name << "\"";
12191219
}
12201220
*what << " - ";
12211221
mocker->DescribeDefaultActionTo(args, what);

0 commit comments

Comments
 (0)