mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Fix posix-test on Windows
This commit is contained in:
@ -256,7 +256,7 @@ TEST(FileTest, Size) {
|
|||||||
File f("test", File::RDONLY);
|
File f("test", File::RDONLY);
|
||||||
EXPECT_EQ(content.size(), f.size());
|
EXPECT_EQ(content.size(), f.size());
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
fmt::Writer message;
|
fmt::MemoryWriter message;
|
||||||
fmt::internal::format_windows_error(
|
fmt::internal::format_windows_error(
|
||||||
message, ERROR_ACCESS_DENIED, "cannot get file size");
|
message, ERROR_ACCESS_DENIED, "cannot get file size");
|
||||||
fstat_sim = ERROR;
|
fstat_sim = ERROR;
|
||||||
|
Reference in New Issue
Block a user