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