mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Fix Windows build.
This commit is contained in:
@ -511,7 +511,7 @@ TEST(UtilTest, FormatWindowsError) {
|
|||||||
fmt::internal::format_windows_error(
|
fmt::internal::format_windows_error(
|
||||||
actual_message, ERROR_FILE_EXISTS,
|
actual_message, ERROR_FILE_EXISTS,
|
||||||
fmt::StringRef("x", std::numeric_limits<size_t>::max()));
|
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) {
|
TEST(UtilTest, WindowsError) {
|
||||||
|
Reference in New Issue
Block a user