Index: test/cctest/test-object-observe.cc |
diff --git a/test/cctest/test-object-observe.cc b/test/cctest/test-object-observe.cc |
index 2a807bf1f039b99cc672be154e7b8d6446c807f7..319dadd67cb6d2dca1349e4e0b8f1b4d5bd441d0 100644 |
--- a/test/cctest/test-object-observe.cc |
+++ b/test/cctest/test-object-observe.cc |
@@ -275,8 +275,8 @@ TEST(APITestBasicMutation) { |
// Setting an indexed element via the property setting method |
obj->Set(Number::New(v8_isolate, 1), Number::New(v8_isolate, 5)); |
// Setting with a non-String, non-uint32 key |
- obj->Set(Number::New(v8_isolate, 1.1), |
- Number::New(v8_isolate, 6), DontDelete); |
+ obj->ForceSet(Number::New(v8_isolate, 1.1), Number::New(v8_isolate, 6), |
+ DontDelete); |
obj->Delete(String::NewFromUtf8(v8_isolate, "foo")); |
obj->Delete(1); |
obj->ForceDelete(Number::New(v8_isolate, 1.1)); |