This commit is contained in:
Victor Zverovich
2014-07-27 15:09:05 -07:00
parent 5d4803a567
commit 75b5eb4b9d
8 changed files with 35 additions and 35 deletions
+2 -2
View File
@@ -81,11 +81,11 @@
FMT_TEST_THROW_(statement, expected_exception, \
expected_message, GTEST_NONFATAL_FAILURE_)
std::string FormatSystemErrorMessage(int error_code, fmt::StringRef message);
std::string format_system_error(int error_code, fmt::StringRef message);
#define EXPECT_SYSTEM_ERROR(statement, error_code, message) \
EXPECT_THROW_MSG(statement, fmt::SystemError, \
FormatSystemErrorMessage(error_code, message))
format_system_error(error_code, message))
#if FMT_USE_FILE_DESCRIPTORS