Commit 8f27ce4d authored by Daumantas Kavolis's avatar Daumantas Kavolis Committed by Victor Zverovich

add test for multiple compilation types

parent 89b0c71f
......@@ -117,6 +117,11 @@ TEST(CompileTest, FormattedSize) {
EXPECT_EQ(fmt::formatted_size(f, 42), 10);
}
TEST(CompileTest, MultipleTypes) {
auto f = fmt::compile<int, int>("{} {}");
EXPECT_EQ(fmt::format(f, 42, 42), "42 42");
}
struct formattable {};
FMT_BEGIN_NAMESPACE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment