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

Unified Diff: net/base/address_tracker_linux_unittest.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: net/base/address_tracker_linux_unittest.cc
diff --git a/net/base/address_tracker_linux_unittest.cc b/net/base/address_tracker_linux_unittest.cc
index 88031c7dce054b670488af57a71977500b363eec..c12163e5e9be60901c222a2a20747f7e01a7d462 100644
--- a/net/base/address_tracker_linux_unittest.cc
+++ b/net/base/address_tracker_linux_unittest.cc
@@ -129,8 +129,8 @@ class NetlinkMessage {
}
void AddPayload(const void* data, size_t length) {
- CHECK_EQ(static_cast<size_t>(NLMSG_HDRLEN),
- buffer_.size()) << "Payload must be added first";
+ // Payload must be added first.
+ CHECK_EQ(static_cast<size_t>(NLMSG_HDRLEN), buffer_.size());
Append(data, length);
Align();
}

Powered by Google App Engine
This is Rietveld 408576698