diff options
-rw-r--r-- | src/base/gtest/logging.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/gtest/logging.cc b/src/base/gtest/logging.cc index 92d260298..d9cb9eb95 100644 --- a/src/base/gtest/logging.cc +++ b/src/base/gtest/logging.cc @@ -61,7 +61,7 @@ class GTestExitLogger : public Logger void log(const Loc &loc, std::string s) override { - ADD_FAILURE_AT(loc.file, loc.line) << s; + std::cerr << loc.file << ":" << loc.line << ": " << s; } // Throw an exception to escape down to the gtest framework. void exit() override { throw GTestException(); } |