This commit is contained in:
Victor Zverovich
2016-11-07 08:55:40 -08:00
parent 85793a18cd
commit 55a1ac5035
2 changed files with 3 additions and 2 deletions

View File

@@ -1362,7 +1362,7 @@ void format_value(fmt::Writer &w, const Date &d, fmt::format_context &) {
TEST(FormatterTest, FormatCustom) {
Date date(2012, 12, 9);
EXPECT_THROW_MSG(fmt::format("{:s}", date), format_error,
"unmatched '}' in format string");
"unknown format specifier");
}
class Answer {};