Googletest export
Use InitGoogleTest() instead of InitGoogle() in code example PiperOrigin-RevId: 308070819
This commit is contained in:
		
				
					committed by
					
						
						Gennadiy Rozental
					
				
			
			
				
	
			
			
			
						parent
						
							b0e53e2d64
						
					
				
				
					commit
					d7ca9af004
				
			@@ -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();
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user