From 09e1c64f86634dd3a38bff59f3c24c5b8ad6675a Mon Sep 17 00:00:00 2001 From: Denis Hananein Date: Fri, 21 Oct 2022 15:37:38 +0200 Subject: Fix format without expectation name Signed-off-by: Denis Hananein --- googlemock/include/gmock/gmock-spec-builders.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'googlemock') 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 : 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); -- cgit v1.2.1