mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Fix posix-test on Windows
This commit is contained in:
parent
e1c046c984
commit
a309c4bbed
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user