Chromium Code Reviews| Index: test/cctest/test-api.cc |
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
| index 76f3304317ca2050c90ed58fed8471344358b7ac..7ccb0ee52573ea6486985aad29b7f6fa4d298485 100644 |
| --- a/test/cctest/test-api.cc |
| +++ b/test/cctest/test-api.cc |
| @@ -9795,8 +9795,8 @@ THREADED_TEST(ConstructorForObject) { |
| value = instance->CallAsConstructor(1, args); |
| CHECK(try_catch.HasCaught()); |
| String::Utf8Value exception_value2(try_catch.Exception()); |
| - CHECK_EQ( |
| - 0, strcmp("TypeError: #<Object> is not a function", *exception_value2)); |
| + CHECK_EQ(0, |
| + strcmp("TypeError: object is not a function", *exception_value2)); |
|
Michael Starzinger
2015/08/27 10:47:14
This will most likely hit blink layout tests. Bett
|
| try_catch.Reset(); |
| } |
| @@ -10165,8 +10165,8 @@ THREADED_TEST(CallAsFunction) { |
| CHECK(value.IsEmpty()); |
| CHECK(try_catch.HasCaught()); |
| String::Utf8Value exception_value2(try_catch.Exception()); |
| - CHECK_EQ(0, strcmp("TypeError: [object Object] is not a function", |
| - *exception_value2)); |
| + CHECK_EQ(0, |
| + strcmp("TypeError: object is not a function", *exception_value2)); |
| try_catch.Reset(); |
| } |