mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:51:05 +00:00
Fix a warning.
This commit is contained in:
parent
442c122c44
commit
8e451911c9
@ -238,7 +238,7 @@ TEST(UtilTest, FormatWinErrorMessage) {
|
|||||||
fmt::Writer actual_message;
|
fmt::Writer actual_message;
|
||||||
fmt::internal::FormatWinErrorMessage(
|
fmt::internal::FormatWinErrorMessage(
|
||||||
actual_message, ERROR_FILE_EXISTS, "test");
|
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());
|
actual_message.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user