mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 03:07:36 +02:00
Fix test.
This commit is contained in:
@ -301,7 +301,7 @@ TEST(UtilTest, ThrowWinError) {
|
|||||||
const int TEST_ERROR = ERROR_FILE_EXISTS;
|
const int TEST_ERROR = ERROR_FILE_EXISTS;
|
||||||
fmt::SystemError error("", 0);
|
fmt::SystemError error("", 0);
|
||||||
try {
|
try {
|
||||||
fmt::ThrowSystemError(TEST_ERROR, "test {}") << "error";
|
fmt::ThrowWinError(TEST_ERROR, "test {}") << "error";
|
||||||
} catch (const fmt::SystemError &e) {
|
} catch (const fmt::SystemError &e) {
|
||||||
error = e;
|
error = e;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user