When some function, for example, PrintHelpAndExit(), prints help info in stdout inside the EXPECT_EXIT macro, this function output will be in the final output near the logs from Google Test framework. This invalid behavior, because test output makes it difficult to read test results.