| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 10f8af1d4cf72ee2ab618448eb4e64fbd301cc8d..a69fe902a4293740a692416e4f4b5c0b57b08f5c 100755
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -810,6 +810,13 @@ static void CheckReturnValue(const T& t) {
|
| CHECK_EQ(v8::Isolate::GetCurrent(), t.GetIsolate());
|
| CHECK_EQ(t.GetIsolate(), rv.GetIsolate());
|
| CHECK((*o)->IsTheHole() || (*o)->IsUndefined());
|
| + // Verify reset
|
| + bool is_runtime = (*o)->IsTheHole();
|
| + rv.Set(true);
|
| + CHECK(!(*o)->IsTheHole() && !(*o)->IsUndefined());
|
| + rv.Set(v8::Handle<v8::Object>());
|
| + CHECK((*o)->IsTheHole() || (*o)->IsUndefined());
|
| + CHECK_EQ(is_runtime, (*o)->IsTheHole());
|
| }
|
|
|
| static v8::Handle<Value> handle_call(const v8::Arguments& args) {
|
|
|