Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 9cccd0f56acf46b5a34edf10158a8e0faf27a1d0..7ba4a3c4a923de2f38d9aa8d2453d880a26a8b92 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -8728,10 +8728,9 @@ |
CHECK_EQ(42, g_echo_value); |
v8::Handle<Value> value; |
- CompileRun("Object.defineProperty(other, 'accessible_prop', {value: 43})"); |
- value = CompileRun("other.accessible_prop == 43"); |
+ CompileRun("Object.defineProperty(other, 'accessible_prop', {value: -1})"); |
+ value = CompileRun("other.accessible_prop == 42"); |
CHECK(value->IsTrue()); |
- CHECK_EQ(43, g_echo_value); // Make sure we didn't overwrite the setter. |
} |