mirror of
https://github.com/google/googletest.git
synced 2025-03-19 18:33:48 +00:00
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)
|
.WillOnce(&CalculateSum)
|
||||||
.WillRepeatedly(Invoke(NewPermanentCallback(Sum3, 1)));
|
.WillRepeatedly(Invoke(NewPermanentCallback(Sum3, 1)));
|
||||||
EXPECT_CALL(foo, ComplexJob(_))
|
EXPECT_CALL(foo, ComplexJob(_))
|
||||||
.WillOnce(Invoke(&helper, &Helper::ComplexJob));
|
.WillOnce(Invoke(&helper, &Helper::ComplexJob))
|
||||||
.WillRepeatedly([](int x) { return x > 0; });
|
.WillRepeatedly([](int x) { return x > 0; });
|
||||||
|
|
||||||
foo.Sum(5, 6); // Invokes CalculateSum(5, 6).
|
foo.Sum(5, 6); // Invokes CalculateSum(5, 6).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user