Deprecate the fmt macro

This commit is contained in:
Victor Zverovich
2019-11-19 11:28:17 -08:00
parent d79493e5ee
commit 57b6f2966d
3 changed files with 21 additions and 33 deletions
+2 -2
View File
@@ -187,8 +187,8 @@ TEST(OStreamTest, Join) {
#if FMT_USE_CONSTEXPR
TEST(OStreamTest, ConstexprString) {
EXPECT_EQ("42", format(fmt("{}"), std::string("42")));
EXPECT_EQ("a string", format(fmt("{0}"), TestString("a string")));
EXPECT_EQ("42", format(FMT_STRING("{}"), std::string("42")));
EXPECT_EQ("a string", format(FMT_STRING("{0}"), TestString("a string")));
}
#endif