diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc index 2a2aa552a..1b824884d 100644 --- a/googlemock/test/gmock-actions_test.cc +++ b/googlemock/test/gmock-actions_test.cc @@ -1224,15 +1224,15 @@ class Foo { TEST(InvokeWithoutArgsTest, Function) { GTEST_DISABLE_DEPRECATED_PUSH_() // As an action that takes one argument. - Action a = InvokeWithoutArgs(Nullary); // NOLINT + Action a = Nullary; // NOLINT EXPECT_EQ(1, a.Perform(std::make_tuple(2))); // As an action that takes two arguments. - Action a2 = InvokeWithoutArgs(Nullary); // NOLINT + Action a2 = Nullary; // NOLINT EXPECT_EQ(1, a2.Perform(std::make_tuple(2, 3.5))); // As an action that returns void. - Action a3 = InvokeWithoutArgs(VoidNullary); // NOLINT + Action a3 = VoidNullary; // NOLINT g_done = false; a3.Perform(std::make_tuple(1)); EXPECT_TRUE(g_done);