mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fix posix-test, take 2.
This commit is contained in:
parent
886ad20a9d
commit
94daf27c9d
@ -258,7 +258,7 @@ TEST(FileTest, Size) {
|
||||
f.close();
|
||||
#ifdef _WIN32
|
||||
fmt::Writer message;
|
||||
fmt::format_windows_error(
|
||||
fmt::internal::format_windows_error(
|
||||
message, ERROR_ACCESS_DENIED, "cannot get file size");
|
||||
fstat_sim = ERROR;
|
||||
EXPECT_THROW_MSG(f.size(), fmt::WindowsError, message.str());
|
||||
|
Loading…
Reference in New Issue
Block a user