diff options
author | Denis Hananein <i@zloylos.me> | 2022-10-21 13:37:38 (GMT) |
---|---|---|
committer | Denis Hananein <i@zloylos.me> | 2022-10-21 13:37:38 (GMT) |
commit | 09e1c64f86634dd3a38bff59f3c24c5b8ad6675a (patch) | |
tree | c3852aa55aca3f62f9ac1c9deddc09c6931cda0e /googlemock/include/gmock/gmock-spec-builders.h | |
parent | 0d263789198e021b688942c55d483ad670c66f22 (diff) | |
download | googletest-09e1c64f86634dd3a38bff59f3c24c5b8ad6675a.zip googletest-09e1c64f86634dd3a38bff59f3c24c5b8ad6675a.tar.gz googletest-09e1c64f86634dd3a38bff59f3c24c5b8ad6675a.tar.bz2 |
Fix format without expectation namerefs/pull/4041/head
Signed-off-by: Denis Hananein <i@zloylos.me>
Diffstat (limited to 'googlemock/include/gmock/gmock-spec-builders.h')
-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 1168d22..f6a5ead 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); |