Index: test/cctest/test-symbols.cc |
diff --git a/test/cctest/test-symbols.cc b/test/cctest/test-symbols.cc |
index 389145d66f70954fb7a0ce45a181786e590e6214..9ab023fe1dd8281b6196086336ad9743ecb1e895 100644 |
--- a/test/cctest/test-symbols.cc |
+++ b/test/cctest/test-symbols.cc |
@@ -21,16 +21,16 @@ TEST(Create) { |
const int kNumSymbols = 30; |
Handle<Symbol> symbols[kNumSymbols]; |
+ OFStream os(stdout); |
for (int i = 0; i < kNumSymbols; ++i) { |
symbols[i] = isolate->factory()->NewSymbol(); |
CHECK(symbols[i]->IsName()); |
CHECK(symbols[i]->IsSymbol()); |
CHECK(symbols[i]->HasHashCode()); |
CHECK_GT(symbols[i]->Hash(), 0); |
- symbols[i]->ShortPrint(); |
- PrintF("\n"); |
+ os << Brief(*symbols[i]) << "\n"; |
#if OBJECT_PRINT |
- symbols[i]->Print(); |
+ symbols[i]->Print(os); |
#endif |
#if VERIFY_HEAP |
symbols[i]->ObjectVerify(); |