Commit 8e451911 authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning.

parent 442c122c
......@@ -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());
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment