Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: chrome/test/logging/win/test_log_collector.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/logging/win/test_log_collector.cc
diff --git a/chrome/test/logging/win/test_log_collector.cc b/chrome/test/logging/win/test_log_collector.cc
index 6df07384fe9cbf22557f655cd7486921f684e241..60790b50bd62c6000df3997753922d778898b76b 100644
--- a/chrome/test/logging/win/test_log_collector.cc
+++ b/chrome/test/logging/win/test_log_collector.cc
@@ -175,8 +175,8 @@ TestLogCollector::~TestLogCollector() {
void TestLogCollector::Initialize(testing::UnitTest* unit_test) {
if (unit_test_ != NULL) {
- CHECK_EQ(unit_test, unit_test_)
- << "Cannot install the test log collector in multiple unit tests.";
+ // Cannot install the test log collector in multiple unit tests.
+ CHECK_EQ(unit_test, unit_test_);
return; // Already initialized.
}

Powered by Google App Engine
This is Rietveld 408576698