Fix Windows build.

This commit is contained in:
Victor Zverovich 2014-09-03 08:10:20 -07:00
parent 22f75d8b6d
commit 93bcad6d8e

View File

@ -511,7 +511,7 @@ TEST(UtilTest, FormatWindowsError) {
fmt::internal::format_windows_error(
actual_message, ERROR_FILE_EXISTS,
fmt::StringRef("x", std::numeric_limits<size_t>::max()));
EXPECT_EQ(fmt::format("error {}", ERROR_FILE_EXISTS), message.str());
EXPECT_EQ(fmt::format("error {}", ERROR_FILE_EXISTS), actual_message.str());
}
TEST(UtilTest, WindowsError) {