Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 93ed66b2180fa6ab8410a2de300ee36aca9e27cb..9abccae75067cf98a461dc5815ef79c1da73d042 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -7433,10 +7433,10 @@ THREADED_TEST(ToArrayIndex) { |
str = v8_str("-42"); |
index = str->ToArrayIndex(); |
CHECK(index.IsEmpty()); |
- str = v8_str("4294967295"); |
+ str = v8_str("4294967294"); |
index = str->ToArrayIndex(); |
CHECK(!index.IsEmpty()); |
- CHECK_EQ(4294967295.0, index->Uint32Value()); |
+ CHECK_EQ(4294967294.0, index->Uint32Value()); |
v8::Handle<v8::Number> num = v8::Number::New(isolate, 1); |
index = num->ToArrayIndex(); |
CHECK(!index.IsEmpty()); |