mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
Fix format without expectation name
Signed-off-by: Denis Hananein <i@zloylos.me>
This commit is contained in:
parent
0d26378919
commit
09e1c64f86
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user