mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +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::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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user