| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 0b50181bcf8c70379b14c815bd05a15d03ba04c6..04085961492ded446bc2326a65f72e3d1696ac06 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -15338,11 +15338,12 @@ TEST(ForceSet) {
|
| CHECK_EQ(3, global->Get(access_property)->Int32Value());
|
| CHECK_EQ(1, force_set_set_count);
|
| CHECK_EQ(2, force_set_get_count);
|
| - // Forcing the property to be set should call the accessor
|
| + // Forcing the property to be set should override the accessor without
|
| + // calling it
|
| global->ForceSet(access_property, v8::Int32::New(isolate, 8));
|
| - CHECK_EQ(3, global->Get(access_property)->Int32Value());
|
| - CHECK_EQ(2, force_set_set_count);
|
| - CHECK_EQ(3, force_set_get_count);
|
| + CHECK_EQ(8, global->Get(access_property)->Int32Value());
|
| + CHECK_EQ(1, force_set_set_count);
|
| + CHECK_EQ(2, force_set_get_count);
|
| }
|
|
|
|
|
|
|