diff --git a/googlemock/test/gmock-function-mocker_test.cc b/googlemock/test/gmock-function-mocker_test.cc index f7b31ae338..cdac79b7e7 100644 --- a/googlemock/test/gmock-function-mocker_test.cc +++ b/googlemock/test/gmock-function-mocker_test.cc @@ -325,8 +325,8 @@ TYPED_TEST(FunctionMockerTest, MocksBinaryFunction) { // Tests mocking a decimal function. TYPED_TEST(FunctionMockerTest, MocksDecimalFunction) { - EXPECT_CALL(this->mock_foo_, - Decimal(true, 'a', 0, 0, 1L, A(), Lt(100), 5U, NULL, "hi")) + EXPECT_CALL(this->mock_foo_, Decimal(true, 'a', 0, 0, 1L, A(), Lt(100), + 5U, nullptr, "hi")) .WillOnce(Return(5)); EXPECT_EQ(5, this->foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, nullptr, "hi"));