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

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: fix 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 4074df17edf9ed95ba119fecfa8e6feb4a67f1d4..6ae9205db3a21807a5829e2003dcb5946299a33c 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 field_type, int count = 1)
: count(count), field_type(field_type) {
- ASSERT(field_type != DateTimeFormat::kFieldTypeLiteral);
+ DCHECK_NE(field_type, DateTimeFormat::kFieldTypeLiteral);
}
Token(const String& string)

Powered by Google App Engine
This is Rietveld 408576698