Skip to content
Snippets Groups Projects
Commit 153909f0 authored by Abseil Team's avatar Abseil Team Committed by Andy Soffer
Browse files

Googletest export

Fix typo in example.

PiperOrigin-RevId: 287212448
parent fbe34cec
No related branches found
No related tags found
No related merge requests found
......@@ -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).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment