Googletest export

Use InitGoogleTest() instead of InitGoogle() in code example

PiperOrigin-RevId: 308070819
This commit is contained in:
Abseil Team 2020-04-23 12:41:47 -04:00 committed by Gennadiy Rozental
parent b0e53e2d64
commit d7ca9af004

View File

@ -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();
}