Improve width estimation (#2033)

This commit is contained in:
Victor Zverovich committed 2021-02-13 09:30:29 -08:00
1 parent 13b117b5bc
commit 7e72673d87
3 files changed
+25 -3

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ TEST(CompileTimeFormattingTest, String) {
test_format<17>(FMT_COMPILE("{} is {}"), "The answer", "42"));
EXPECT_EQ("abc**", test_format<6>(FMT_COMPILE("{:*<5}"), "abc"));
EXPECT_EQ("**🤡**", test_format<9>(FMT_COMPILE("{:*^5}"), "🤡"));
EXPECT_EQ("**🤡**", test_format<9>(FMT_COMPILE("{:*^6}"), "🤡"));
}
TEST(CompileTimeFormattingTest, Combination) {