aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock_link_test.h
diff options
context:
space:
mode:
authorJerry Turcios <jerryturcios08@gmail.com>2018-10-29 21:09:25 -0400
committerJerry Turcios <jerryturcios08@gmail.com>2018-10-29 21:09:25 -0400
commit3896e3b593c332087564a767b3d8f2e7c8dbbd25 (patch)
tree1bac50c1afdb97db255a4fbef0b33941c8025f12 /googlemock/test/gmock_link_test.h
parentb8a03c80ad59a4735f852ab13725f2d14ead424f (diff)
parentb9347b31c338851879d0105f0fe32d09007f0433 (diff)
downloadgoogletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.tar.gz
googletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.tar.bz2
googletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.zip
Merge branch 'master' of https://github.com/google/googletest
Diffstat (limited to 'googlemock/test/gmock_link_test.h')
-rw-r--r--googlemock/test/gmock_link_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock_link_test.h b/googlemock/test/gmock_link_test.h
index e85f7502..175d2bdd 100644
--- a/googlemock/test/gmock_link_test.h
+++ b/googlemock/test/gmock_link_test.h
@@ -414,7 +414,7 @@ TEST(LinkTest, TestThrow) {
Mock mock;
EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Throw(42));
- EXPECT_THROW(mock.VoidFromString(NULL), int);
+ EXPECT_THROW(mock.VoidFromString(nullptr), int);
}
#endif // GTEST_HAS_EXCEPTIONS