Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 5f78134ec144f2c8f297241448a2e7d21535303b..13fa3972fa00436fcce1c4bc6763193ecee8cd81 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -15311,12 +15311,11 @@ 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 override the accessor without |
- // calling it |
+ // Forcing the property to be set should call the accessor |
global->ForceSet(access_property, v8::Int32::New(isolate, 8)); |
- CHECK_EQ(8, global->Get(access_property)->Int32Value()); |
- CHECK_EQ(1, force_set_set_count); |
- CHECK_EQ(2, force_set_get_count); |
+ CHECK_EQ(3, global->Get(access_property)->Int32Value()); |
+ CHECK_EQ(2, force_set_set_count); |
+ CHECK_EQ(3, force_set_get_count); |
} |