mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Fix test.
This commit is contained in:
parent
d35411817e
commit
f3a86e83fe
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user