mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-02 07:01:58 +01:00
FMT_TEMPLATE -> FMT_WRAP
This commit is contained in:
@@ -45,12 +45,12 @@ int result;
|
||||
result += args[i].int_value; \
|
||||
}
|
||||
|
||||
MAKE_TEST(TestTemplate)
|
||||
FMT_TEMPLATE(TestTemplate, const char *, 1)
|
||||
MAKE_TEST(TestFunc)
|
||||
FMT_WRAP(TestFunc, const char *, 1)
|
||||
|
||||
TEST(UtilTest, Template) {
|
||||
result = 0;
|
||||
TestTemplate("", 42);
|
||||
TestFunc("", 42);
|
||||
EXPECT_EQ(42, result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user