| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 3db7c37f1cd60bcaf4d5a31894dbdae9d2ba0809..f948cd3194f9a6b649283ee795f02566bdd2dbf6 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -4895,8 +4895,7 @@ THREADED_TEST(CallAsFunction) {
|
| CHECK_EQ(17, value->Int32Value());
|
|
|
| // Check that the call-as-function handler can be called through
|
| - // new. Currently, there is no way to check in the call-as-function
|
| - // handler if it has been called through new or not.
|
| + // new.
|
| value = CompileRun("new obj(43)");
|
| CHECK(!try_catch.HasCaught());
|
| CHECK_EQ(-43, value->Int32Value());
|
|
|