Improve compile-time formatting (#4127)

This commit is contained in:
Anthony VH
2024-08-21 12:02:47 -07:00
committed by GitHub
parent 1a79bbfa83
commit c59ee969f3
2 changed files with 12 additions and 9 deletions
+1
View File
@@ -334,6 +334,7 @@ TEST(compile_time_formatting_test, integer) {
EXPECT_EQ("0X4A", test_format<5>(FMT_COMPILE("{:#X}"), 0x4a));
EXPECT_EQ(" 42", test_format<6>(FMT_COMPILE("{:5}"), 42));
EXPECT_EQ(" 42", test_format<6>(FMT_COMPILE("{:5}"), 42l));
EXPECT_EQ(" 42", test_format<6>(FMT_COMPILE("{:5}"), 42ll));
EXPECT_EQ(" 42", test_format<6>(FMT_COMPILE("{:5}"), 42ull));