| Index: test/cctest/test-decls.cc
|
| diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc
|
| index bce4d8b9048824333736f37a44a6be564b98901f..781bf9ec858efce6d565a97d2b3b731a258ed5ac 100644
|
| --- a/test/cctest/test-decls.cc
|
| +++ b/test/cctest/test-decls.cc
|
| @@ -159,13 +159,13 @@ void DeclarationContext::Check(const char* source,
|
| if (expectations == EXPECT_RESULT) {
|
| CHECK(!catcher.HasCaught());
|
| if (!value.IsEmpty()) {
|
| - CHECK_EQ(value, result);
|
| + CHECK(value->Equals(result));
|
| }
|
| } else {
|
| CHECK(expectations == EXPECT_EXCEPTION);
|
| CHECK(catcher.HasCaught());
|
| if (!value.IsEmpty()) {
|
| - CHECK_EQ(value, catcher.Exception());
|
| + CHECK(value->Equals(catcher.Exception()));
|
| }
|
| }
|
| // Clean slate for the next test.
|
| @@ -580,13 +580,13 @@ class SimpleContext {
|
| if (expectations == EXPECT_RESULT) {
|
| CHECK(!catcher.HasCaught());
|
| if (!value.IsEmpty()) {
|
| - CHECK_EQ(value, result);
|
| + CHECK(value->Equals(result));
|
| }
|
| } else {
|
| CHECK(expectations == EXPECT_EXCEPTION);
|
| CHECK(catcher.HasCaught());
|
| if (!value.IsEmpty()) {
|
| - CHECK_EQ(value, catcher.Exception());
|
| + CHECK(value->Equals(catcher.Exception()));
|
| }
|
| }
|
| }
|
|
|