fd538161f4
Allow construction of an Action from a callable of zero args Action already allows construction from a callable with the same args as the mocked function, without needing to wrap the callable in Invoke. However, if you don't care about the arguments to the mocked function you need to either accept all of them or wrap your callable in InvokeWithoutArgs. This change makes both of those unnecessary, since it allows you to pass a no-args callable to Action directly. PiperOrigin-RevId: 296117034 |
||
---|---|---|
.. | ||
cheat_sheet.md | ||
cook_book.md | ||
for_dummies.md | ||
gmock_faq.md | ||
pump_manual.md |