From f3a86e83fee09449ee113de550766853a43f2d08 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 30 Apr 2014 13:34:52 -0700 Subject: [PATCH] Fix test. --- format-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format-test.cc b/format-test.cc index 8a3d40c3..ae9af30c 100644 --- a/format-test.cc +++ b/format-test.cc @@ -301,7 +301,7 @@ TEST(UtilTest, ThrowWinError) { const int TEST_ERROR = ERROR_FILE_EXISTS; fmt::SystemError error("", 0); try { - fmt::ThrowSystemError(TEST_ERROR, "test {}") << "error"; + fmt::ThrowWinError(TEST_ERROR, "test {}") << "error"; } catch (const fmt::SystemError &e) { error = e; }