Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index a2806d8640da49ed7cf973be0862a355dd456548..8656bee4391a2e92ec7efb460f6eafb77801071e 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -1296,7 +1296,8 @@ void TestParserSyncWithFlags(i::Handle<i::String> source, |
"with error:\n" |
"\t%s\n" |
"However, the parser succeeded", |
- source->ToCString().get(), FormatMessage(log.ErrorMessageData())); |
+ source->ToCString().get(), |
+ FormatMessage(log.ErrorMessageData())->ToCString().get()); |
CHECK(false); |
} else if (result == kError) { |
v8::base::OS::Print( |