Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 16fcb58803744d58cddcf418eb5dc016a2e86a73..10c35c1c4d64277ccbf130676a4a6dcae0a5d523 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -297,8 +297,7 @@ static void SanityCheck() { |
CHECK(isolate->global_object()->IsJSObject()); |
CHECK(isolate->native_context()->IsContext()); |
CHECK(CcTest::heap()->string_table()->IsStringTable()); |
- CHECK(!isolate->factory()->InternalizeOneByteString( |
- STATIC_ASCII_VECTOR("Empty"))->IsFailure()); |
+ isolate->factory()->InternalizeOneByteString(STATIC_ASCII_VECTOR("Empty")); |
} |