| Index: test/cctest/test-liveedit.cc
|
| diff --git a/test/cctest/test-liveedit.cc b/test/cctest/test-liveedit.cc
|
| index bf8d1981fae5b4b88a366013e5ed7249e002fc01..f5c22743bde0499be00325b8de83a624bc5ba276 100644
|
| --- a/test/cctest/test-liveedit.cc
|
| +++ b/test/cctest/test-liveedit.cc
|
| @@ -117,12 +117,12 @@ void CompareStringsOneWay(const char* s1, const char* s2,
|
| int similar_part_length = diff_pos1 - pos1;
|
| int diff_pos2 = pos2 + similar_part_length;
|
|
|
| - ASSERT_EQ(diff_pos2, chunk->pos2);
|
| + DCHECK_EQ(diff_pos2, chunk->pos2);
|
|
|
| for (int j = 0; j < similar_part_length; j++) {
|
| - ASSERT(pos1 + j < len1);
|
| - ASSERT(pos2 + j < len2);
|
| - ASSERT_EQ(s1[pos1 + j], s2[pos2 + j]);
|
| + DCHECK(pos1 + j < len1);
|
| + DCHECK(pos2 + j < len2);
|
| + DCHECK_EQ(s1[pos1 + j], s2[pos2 + j]);
|
| }
|
| diff_parameter += chunk->len1 + chunk->len2;
|
| pos1 = diff_pos1 + chunk->len1;
|
| @@ -131,17 +131,17 @@ void CompareStringsOneWay(const char* s1, const char* s2,
|
| {
|
| // After last chunk.
|
| int similar_part_length = len1 - pos1;
|
| - ASSERT_EQ(similar_part_length, len2 - pos2);
|
| + DCHECK_EQ(similar_part_length, len2 - pos2);
|
| USE(len2);
|
| for (int j = 0; j < similar_part_length; j++) {
|
| - ASSERT(pos1 + j < len1);
|
| - ASSERT(pos2 + j < len2);
|
| - ASSERT_EQ(s1[pos1 + j], s2[pos2 + j]);
|
| + DCHECK(pos1 + j < len1);
|
| + DCHECK(pos2 + j < len2);
|
| + DCHECK_EQ(s1[pos1 + j], s2[pos2 + j]);
|
| }
|
| }
|
|
|
| if (expected_diff_parameter != -1) {
|
| - ASSERT_EQ(expected_diff_parameter, diff_parameter);
|
| + DCHECK_EQ(expected_diff_parameter, diff_parameter);
|
| }
|
| }
|
|
|
|
|