Index: test/cctest/test-strings.cc |
diff --git a/test/cctest/test-strings.cc b/test/cctest/test-strings.cc |
index d4dc51692d988f9ae07b74562afc501d6f1a7ffa..72f926430bbf910565a0076028fb591c41c5a69f 100644 |
--- a/test/cctest/test-strings.cc |
+++ b/test/cctest/test-strings.cc |
@@ -1212,7 +1212,7 @@ TEST(AsciiArrayJoin) { |
// Set heap limits. |
static const int K = 1024; |
v8::ResourceConstraints constraints; |
- constraints.set_max_young_space_size(256 * K); |
+ constraints.set_max_new_space_size(256 * K); |
constraints.set_max_old_space_size(4 * K * K); |
v8::SetResourceConstraints(CcTest::isolate(), &constraints); |