diff --git a/test/util-test.cc b/test/util-test.cc index baf79666..eda346ab 100644 --- a/test/util-test.cc +++ b/test/util-test.cc @@ -248,8 +248,8 @@ TEST(UtilTest, WinErrorSink) { } TEST(UtilTest, ThrowWinError) { - CheckThrowError(ERROR_FILE_EXISTS, - fmt::internal::FormatWinErrorMessage, fmt::ThrowWinError); + CheckThrowError( + ERROR_FILE_EXISTS, fmt::internal::FormatWinErrorMessage); } TEST(UtilTest, ReportWinError) {