| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 2282c2d9b9563b7d8a2b1c63548d6cc0824c1e80..2a2132ff57e15938648d5f539c19ed299b73de11 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -1810,7 +1810,7 @@ TEST(HugeConsStringOutOfMemory) {
|
| // Build huge string. This should fail with out of memory exception.
|
| Local<Value> result = CompileRun(
|
| "var str = Array.prototype.join.call({length: 513}, \"A\").toUpperCase();"
|
| - "for (var i = 0; i < 21; i++) { str = str + str; }");
|
| + "for (var i = 0; i < 22; i++) { str = str + str; }");
|
|
|
| // Check for out of memory state.
|
| CHECK(result.IsEmpty());
|
|
|