Finish text::format

This commit is contained in:
Victor Zverovich
2020-06-14 11:04:41 -07:00
parent e900d735bb
commit ab2f8484e0
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -155,4 +155,8 @@ TEST(CompileTest, FormatDefault) {
EXPECT_EQ("foo", fmt::format(FMT_COMPILE("{}"), "foo"));
EXPECT_EQ("foo", fmt::format(FMT_COMPILE("{}"), std::string("foo")));
}
TEST(CompileTest, TextAndArg) {
EXPECT_EQ(">>>42<<<", fmt::format(FMT_COMPILE(">>>{}<<<"), 42));
}
#endif