| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index b0d80ed49a7d9a2da309aaa969e736a4ead97a83..a046017e747bc228ab0d632c86f44846a720a616 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -11389,8 +11389,8 @@ THREADED_TEST(ConstructorForObject) {
|
| CHECK(instance->CallAsConstructor(context.local(), 1, args).IsEmpty());
|
| CHECK(try_catch.HasCaught());
|
| String::Utf8Value exception_value2(try_catch.Exception());
|
| - CHECK_EQ(
|
| - 0, strcmp("TypeError: object is not a constructor", *exception_value2));
|
| + CHECK_EQ(0, strcmp("TypeError: #<Object> is not a constructor",
|
| + *exception_value2));
|
| try_catch.Reset();
|
| }
|
|
|
|
|