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

Unified Diff: ash/mus/test/wm_test_base.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: ash/mus/test/wm_test_base.cc
diff --git a/ash/mus/test/wm_test_base.cc b/ash/mus/test/wm_test_base.cc
index e3a05cb042a045d45f49c886d78fff8f8c4da31e..1fe3c276534b9cbb41e9dccd1554ee1aa1ac6cbc 100644
--- a/ash/mus/test/wm_test_base.cc
+++ b/ash/mus/test/wm_test_base.cc
@@ -57,10 +57,10 @@ ui::mojom::WindowType MusWindowTypeFromWmWindowType(
WmTestBase::WmTestBase() {}
WmTestBase::~WmTestBase() {
- CHECK(setup_called_)
- << "You have overridden SetUp but never called WmTestBase::SetUp";
- CHECK(teardown_called_)
- << "You have overridden TearDown but never called WmTestBase::TearDown";
+ // You have overridden SetUp but never called WmTestBase::SetUp
+ CHECK(setup_called_);
+ // You have overridden TearDown but never called WmTestBase::TearDown
+ CHECK(teardown_called_);
}
bool WmTestBase::SupportsMultipleDisplays() const {

Powered by Google App Engine
This is Rietveld 408576698