Googletest export

Fix typo in example.

PiperOrigin-RevId: 287212448
This commit is contained in:
Abseil Team 2019-12-26 15:08:14 -05:00 committed by Andy Soffer
parent fbe34cecf4
commit 153909f096

View File

@ -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).