Googletest export
Fix typo in example. PiperOrigin-RevId: 287212448
This commit is contained in:
parent
fbe34cecf4
commit
153909f096
@ -2202,7 +2202,7 @@ class Helper {
|
||||
.WillOnce(&CalculateSum)
|
||||
.WillRepeatedly(Invoke(NewPermanentCallback(Sum3, 1)));
|
||||
EXPECT_CALL(foo, ComplexJob(_))
|
||||
.WillOnce(Invoke(&helper, &Helper::ComplexJob));
|
||||
.WillOnce(Invoke(&helper, &Helper::ComplexJob))
|
||||
.WillRepeatedly([](int x) { return x > 0; });
|
||||
|
||||
foo.Sum(5, 6); // Invokes CalculateSum(5, 6).
|
||||
|
Loading…
Reference in New Issue
Block a user