| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index cc14ffa2d32e003f81d05c9798ae2c08c557e8be..b0e9ce8ca5f3f4fc23cc530a81c13ab89206c21e 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -7451,13 +7451,11 @@ TEST(ExceptionExtensions) {
|
| CHECK(context.IsEmpty());
|
| }
|
|
|
| -
|
| static const char* kNativeCallInExtensionSource =
|
| "function call_runtime_last_index_of(x) {"
|
| - " return %StringLastIndexOf(x, 'bob', 10);"
|
| + " return %StringLastIndexOf(x, 'bob');"
|
| "}";
|
|
|
| -
|
| static const char* kNativeCallTest =
|
| "call_runtime_last_index_of('bobbobboellebobboellebobbob');";
|
|
|
| @@ -7471,7 +7469,7 @@ TEST(NativeCallInExtensions) {
|
| v8::Local<Context> context = Context::New(CcTest::isolate(), &extensions);
|
| Context::Scope lock(context);
|
| v8::Local<Value> result = CompileRun(kNativeCallTest);
|
| - CHECK(result->Equals(context, v8::Integer::New(CcTest::isolate(), 3))
|
| + CHECK(result->Equals(context, v8::Integer::New(CcTest::isolate(), 24))
|
| .FromJust());
|
| }
|
|
|
|
|