Replaced all NULLs with nullptr in googlemock

This commit is contained in:
Vadim Barkov
2018-10-28 03:27:51 +03:00
parent 53d61b5b23
commit 3feffddd1e
5 changed files with 10 additions and 10 deletions

View File

@@ -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