Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 7ba2583da584023d9fe2c9e06ebf9999c80482ac..36eb870c2b7c05673cf9c5f140d2a8c17106a4f0 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -76,7 +76,7 @@ static MaybeObject* AllocateAfterFailures() { |
// Old data space. |
SimulateFullSpace(heap->old_data_space()); |
- CHECK(!heap->AllocateRawAsciiString(100, TENURED)->IsFailure()); |
+ CHECK(!heap->AllocateRawOneByteString(100, TENURED)->IsFailure()); |
// Old pointer space. |
SimulateFullSpace(heap->old_pointer_space()); |