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

Unified Diff: third_party/WebKit/Source/platform/text/DateTimeFormatTest.cpp

Issue 2811453002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/text (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/text Created 3 years, 8 months 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: third_party/WebKit/Source/platform/text/DateTimeFormatTest.cpp
diff --git a/third_party/WebKit/Source/platform/text/DateTimeFormatTest.cpp b/third_party/WebKit/Source/platform/text/DateTimeFormatTest.cpp
index 6cbab69fc9ee15cc1f173a17fd9be948f9c423e9..201dad272d3b0dc72dba2c3a5f55238041bf10c7 100644
--- a/third_party/WebKit/Source/platform/text/DateTimeFormatTest.cpp
+++ b/third_party/WebKit/Source/platform/text/DateTimeFormatTest.cpp
@@ -42,7 +42,7 @@ class DateTimeFormatTest : public ::testing::Test {
Token(FieldType fieldType, int count = 1)
: count(count), fieldType(fieldType) {
- ASSERT(fieldType != DateTimeFormat::FieldTypeLiteral);
+ DCHECK_NE(fieldType, DateTimeFormat::FieldTypeLiteral);
}
Token(const String& string)

Powered by Google App Engine
This is Rietveld 408576698