Fix handling of wide alignment

This commit is contained in:
Victor Zverovich
2020-09-15 06:53:06 -07:00
parent f80ed64dd9
commit 5b5a597198
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1525,6 +1525,7 @@ TEST(FormatterTest, WideFormatString) {
EXPECT_EQ(L"4.2", format(L"{}", 4.2));
EXPECT_EQ(L"abc", format(L"{}", L"abc"));
EXPECT_EQ(L"z", format(L"{}", L'z'));
EXPECT_THROW(fmt::format(L"{:*\x343E}", 42), fmt::format_error);
}
TEST(FormatterTest, FormatStringFromSpeedTest) {