From 1b6f64d659944658a4c685b7bd9f04c1c3b8a39b Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Sat, 1 Aug 2026 00:06:44 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 957522754 Change-Id: I824b98844e25a2830518b8a740314092c5282ba9 --- googlemock/test/gmock-actions_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc index 2a2aa552..1b824884 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);