diff options
author | Abseil Team <absl-team@google.com> | 2020-04-23 12:41:47 -0400 |
---|---|---|
committer | Gennadiy Rozental <rogeeff@google.com> | 2020-05-01 17:11:26 -0400 |
commit | d7ca9af0049e5f33dbfcf0356ba5ee0c04579054 (patch) | |
tree | 210b72b7ee2c15e3eb99bc61a86bd08db324787e | |
parent | b0e53e2d64db0f37ceb73984b9cfad6ad3577a87 (diff) | |
download | googletest-d7ca9af0049e5f33dbfcf0356ba5ee0c04579054.tar.gz googletest-d7ca9af0049e5f33dbfcf0356ba5ee0c04579054.tar.bz2 googletest-d7ca9af0049e5f33dbfcf0356ba5ee0c04579054.zip |
Googletest export
Use InitGoogleTest() instead of InitGoogle() in code example
PiperOrigin-RevId: 308070819
-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(); } |