Abseil Team fd538161f4 Googletest export
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
2020-02-28 16:40:53 -05:00
..
2020-02-07 13:35:27 -05:00
2019-07-16 13:35:16 -04:00
2019-07-17 13:38:25 -04:00
2018-10-29 13:46:16 -04:00
2020-02-28 16:40:53 -05:00
2018-11-20 13:29:40 -05:00
2019-11-22 16:33:15 -05:00
2020-02-11 15:50:26 -05:00
2019-09-16 11:47:35 -04:00
2019-01-02 16:51:33 -05:00
2018-11-20 13:30:24 -05:00
2019-09-12 18:21:31 +02:00