Index: test/cctest/test-regexp.cc |
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc |
index 3fe822505f1f595cb14dca2e41431fadfb325a28..7da2edd75a1b957614e25f127dabb4e834eb355e 100644 |
--- a/test/cctest/test-regexp.cc |
+++ b/test/cctest/test-regexp.cc |
@@ -1705,26 +1705,26 @@ TEST(CanonicalizeCharacterSets) { |
list->Add(CharacterRange(30, 40), &zone); |
list->Add(CharacterRange(50, 60), &zone); |
set.Canonicalize(); |
- DCHECK_EQ(3, list->length()); |
- DCHECK_EQ(10, list->at(0).from()); |
- DCHECK_EQ(20, list->at(0).to()); |
- DCHECK_EQ(30, list->at(1).from()); |
- DCHECK_EQ(40, list->at(1).to()); |
- DCHECK_EQ(50, list->at(2).from()); |
- DCHECK_EQ(60, list->at(2).to()); |
+ CHECK_EQ(3, list->length()); |
+ CHECK_EQ(10, list->at(0).from()); |
+ CHECK_EQ(20, list->at(0).to()); |
+ CHECK_EQ(30, list->at(1).from()); |
+ CHECK_EQ(40, list->at(1).to()); |
+ CHECK_EQ(50, list->at(2).from()); |
+ CHECK_EQ(60, list->at(2).to()); |
list->Rewind(0); |
list->Add(CharacterRange(10, 20), &zone); |
list->Add(CharacterRange(50, 60), &zone); |
list->Add(CharacterRange(30, 40), &zone); |
set.Canonicalize(); |
- DCHECK_EQ(3, list->length()); |
- DCHECK_EQ(10, list->at(0).from()); |
- DCHECK_EQ(20, list->at(0).to()); |
- DCHECK_EQ(30, list->at(1).from()); |
- DCHECK_EQ(40, list->at(1).to()); |
- DCHECK_EQ(50, list->at(2).from()); |
- DCHECK_EQ(60, list->at(2).to()); |
+ CHECK_EQ(3, list->length()); |
+ CHECK_EQ(10, list->at(0).from()); |
+ CHECK_EQ(20, list->at(0).to()); |
+ CHECK_EQ(30, list->at(1).from()); |
+ CHECK_EQ(40, list->at(1).to()); |
+ CHECK_EQ(50, list->at(2).from()); |
+ CHECK_EQ(60, list->at(2).to()); |
list->Rewind(0); |
list->Add(CharacterRange(30, 40), &zone); |
@@ -1733,26 +1733,26 @@ TEST(CanonicalizeCharacterSets) { |
list->Add(CharacterRange(100, 100), &zone); |
list->Add(CharacterRange(1, 1), &zone); |
set.Canonicalize(); |
- DCHECK_EQ(5, list->length()); |
- DCHECK_EQ(1, list->at(0).from()); |
- DCHECK_EQ(1, list->at(0).to()); |
- DCHECK_EQ(10, list->at(1).from()); |
- DCHECK_EQ(20, list->at(1).to()); |
- DCHECK_EQ(25, list->at(2).from()); |
- DCHECK_EQ(25, list->at(2).to()); |
- DCHECK_EQ(30, list->at(3).from()); |
- DCHECK_EQ(40, list->at(3).to()); |
- DCHECK_EQ(100, list->at(4).from()); |
- DCHECK_EQ(100, list->at(4).to()); |
+ CHECK_EQ(5, list->length()); |
+ CHECK_EQ(1, list->at(0).from()); |
+ CHECK_EQ(1, list->at(0).to()); |
+ CHECK_EQ(10, list->at(1).from()); |
+ CHECK_EQ(20, list->at(1).to()); |
+ CHECK_EQ(25, list->at(2).from()); |
+ CHECK_EQ(25, list->at(2).to()); |
+ CHECK_EQ(30, list->at(3).from()); |
+ CHECK_EQ(40, list->at(3).to()); |
+ CHECK_EQ(100, list->at(4).from()); |
+ CHECK_EQ(100, list->at(4).to()); |
list->Rewind(0); |
list->Add(CharacterRange(10, 19), &zone); |
list->Add(CharacterRange(21, 30), &zone); |
list->Add(CharacterRange(20, 20), &zone); |
set.Canonicalize(); |
- DCHECK_EQ(1, list->length()); |
- DCHECK_EQ(10, list->at(0).from()); |
- DCHECK_EQ(30, list->at(0).to()); |
+ CHECK_EQ(1, list->length()); |
+ CHECK_EQ(10, list->at(0).from()); |
+ CHECK_EQ(30, list->at(0).to()); |
} |
@@ -1834,8 +1834,8 @@ TEST(CharacterRangeMerge) { |
offset += 9; |
} |
- DCHECK(CharacterRange::IsCanonical(&l1)); |
- DCHECK(CharacterRange::IsCanonical(&l2)); |
+ CHECK(CharacterRange::IsCanonical(&l1)); |
+ CHECK(CharacterRange::IsCanonical(&l2)); |
ZoneList<CharacterRange> first_only(4, &zone); |
ZoneList<CharacterRange> second_only(4, &zone); |