diff options
author | Denis Hananein <i@zloylos.me> | 2022-10-21 12:03:45 (GMT) |
---|---|---|
committer | Denis Hananein <i@zloylos.me> | 2022-10-21 12:03:45 (GMT) |
commit | 0d263789198e021b688942c55d483ad670c66f22 (patch) | |
tree | 26f17fa3ee295be4641a911eeac78cd9a23e19fe /googlemock/include/gmock | |
parent | f3eb2b7e38e132402f8f67e86feb97813714c3d7 (diff) | |
download | googletest-0d263789198e021b688942c55d483ad670c66f22.zip googletest-0d263789198e021b688942c55d483ad670c66f22.tar.gz googletest-0d263789198e021b688942c55d483ad670c66f22.tar.bz2 |
Change messages
Signed-off-by: Denis Hananein <i@zloylos.me>
Diffstat (limited to 'googlemock/include/gmock')
-rw-r--r-- | googlemock/include/gmock/gmock-spec-builders.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/googlemock/include/gmock/gmock-spec-builders.h b/googlemock/include/gmock/gmock-spec-builders.h index 1d70675..1168d22 100644 --- a/googlemock/include/gmock/gmock-spec-builders.h +++ b/googlemock/include/gmock/gmock-spec-builders.h @@ -1213,11 +1213,11 @@ class TypedExpectation<R(Args...)> : public ExpectationBase { if (IsSaturated()) { // We have an excessive call. IncrementCallCount(); - *what << "Mock function "; + *what << "Mock function called more times than expected "; if (!expectation_name.empty()) { - *what << "with name \"" << expectation_name << "\" "; + *what << "for \"" << expectation_name << "\" "; } - *what << "called more times than expected - "; + *what << " - "; mocker->DescribeDefaultActionTo(args, what); DescribeCallCountTo(why); @@ -1232,11 +1232,11 @@ class TypedExpectation<R(Args...)> : public ExpectationBase { } // Must be done after IncrementCount()! - *what << "Mock function "; + *what << "Mock function call matches "; if (!expectation_name.empty()) { - *what << "with name \"" << expectation_name << "\" "; + *what << "\"" << expectation_name << "\" "; } - *what << "call matches " << source_text() << "...\n"; + *what << source_text() << "...\n"; return &(GetCurrentAction(mocker, args)); } |