From 29a17814c469c7754b3c41f583fc7e97f1cf8841 Mon Sep 17 00:00:00 2001 From: Shawn Zhong Date: Sat, 29 Apr 2023 08:21:09 -0500 Subject: [PATCH] Update compile-fp-test.cc --- test/compile-fp-test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/compile-fp-test.cc b/test/compile-fp-test.cc index 55a66c31..245e1f40 100644 --- a/test/compile-fp-test.cc +++ b/test/compile-fp-test.cc @@ -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(FMT_COMPILE(str), __VA_ARGS__)) # endif