mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Fix Windows build.
This commit is contained in:
parent
22f75d8b6d
commit
93bcad6d8e
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user