mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-02 07:01:58 +01:00
Fix posix-test, take 2.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user