Fix a warning.

This commit is contained in:
Victor Zverovich 2014-06-30 19:11:20 -07:00
parent 442c122c44
commit 8e451911c9

View File

@ -238,7 +238,7 @@ TEST(UtilTest, FormatWinErrorMessage) {
fmt::Writer actual_message;
fmt::internal::FormatWinErrorMessage(
actual_message, ERROR_FILE_EXISTS, "test");
EXPECT_EQ(fmt::format("test: {}", fmt::str(utf8_message)),
EXPECT_EQ(fmt::format("test: {}", utf8_message.str()),
actual_message.str());
}