Update compile-fp-test.cc

This commit is contained in:
Shawn Zhong 2023-04-29 08:21:09 -05:00
parent 94c837f5f4
commit 29a17814c4

View File

@ -34,8 +34,8 @@ consteval auto test_format(auto format, const Args&... args) {
static_assert(fmt::format(FMT_COMPILE(str), __VA_ARGS__) == expected); \
} while (false)
# else
# define TEST_FORMAT(expected, len, str, ...) \
EXPECT_EQ(expected, \
# define TEST_FORMAT(expected, str, ...) \
EXPECT_EQ(expected, \
test_format<sizeof(expected)>(FMT_COMPILE(str), __VA_ARGS__))
# endif