Commit a309c4bb authored by Victor Zverovich's avatar Victor Zverovich

Fix posix-test on Windows

parent e1c046c9
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment