diff options
author | Denis Hananein <i@zloylos.me> | 2022-10-21 16:37:38 +0300 |
---|---|---|
committer | Denis Hananein <i@zloylos.me> | 2022-10-21 16:37:38 +0300 |
commit | 09e1c64f86634dd3a38bff59f3c24c5b8ad6675a (patch) | |
tree | c3852aa55aca3f62f9ac1c9deddc09c6931cda0e | |
parent | 0d263789198e021b688942c55d483ad670c66f22 (diff) |
Fix format without expectation name
Signed-off-by: Denis Hananein <i@zloylos.me>
-rw-r--r-- | googlemock/include/gmock/gmock-spec-builders.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/include/gmock/gmock-spec-builders.h b/googlemock/include/gmock/gmock-spec-builders.h index 1168d22d..f6a5eadc 100644 --- a/googlemock/include/gmock/gmock-spec-builders.h +++ b/googlemock/include/gmock/gmock-spec-builders.h @@ -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); |