Commit f3a86e83 authored by Victor Zverovich's avatar Victor Zverovich

Fix test.

parent d3541181
...@@ -301,7 +301,7 @@ TEST(UtilTest, ThrowWinError) { ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment