mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-11 05:29:54 -04: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);
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user