Move format_system_error to the public API (#323)

This commit is contained in:
Victor Zverovich
2016-05-13 07:19:39 -06:00
parent d67eb8af2f
commit cc9b051d12
6 changed files with 43 additions and 25 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ TEST(StreamingAssertionsTest, EXPECT_WRITE) {
TEST(UtilTest, FormatSystemError) {
fmt::MemoryWriter out;
fmt::internal::format_system_error(out, EDOM, "test message");
fmt::format_system_error(out, EDOM, "test message");
EXPECT_EQ(out.str(), format_system_error(EDOM, "test message"));
}