diff options
-rw-r--r-- | googletest/docs/advanced.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md index b782e99f..3c3c6fe9 100644 --- a/googletest/docs/advanced.md +++ b/googletest/docs/advanced.md @@ -863,7 +863,7 @@ restored afterwards, so you need not do that yourself. For example: ```c++ int main(int argc, char** argv) { - InitGoogle(argv[0], &argc, &argv, true); + ::testing::InitGoogleTest(&argc, argv); ::testing::FLAGS_gtest_death_test_style = "fast"; return RUN_ALL_TESTS(); } |