mirror of
https://github.com/google/googletest.git
synced 2025-03-19 10:23:48 +00: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()) {
|
if (IsSaturated()) {
|
||||||
// We have an excessive call.
|
// We have an excessive call.
|
||||||
IncrementCallCount();
|
IncrementCallCount();
|
||||||
*what << "Mock function called more times than expected ";
|
*what << "Mock function called more times than expected";
|
||||||
if (!expectation_name.empty()) {
|
if (!expectation_name.empty()) {
|
||||||
*what << "for \"" << expectation_name << "\" ";
|
*what << " for \"" << expectation_name << "\"";
|
||||||
}
|
}
|
||||||
*what << " - ";
|
*what << " - ";
|
||||||
mocker->DescribeDefaultActionTo(args, what);
|
mocker->DescribeDefaultActionTo(args, what);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user