Optimize alignment parsing

This commit is contained in:
Victor Zverovich committed 2020-10-21 12:45:11 -07:00
1 parent 9755307842
commit 0ecb3d1829
3 files changed
+17 -20

No files matched your search

+1 -1
View File
@@ -646,7 +646,7 @@ TEST(FormatterTest, Fill) {
EXPECT_EQ(std::string("\0\0\0*", 4), format(string_view("{:\0>4}", 6), '*'));
EXPECT_EQ("жж42", format("{0:ж>4}", 42));
EXPECT_THROW_MSG(format("{:\x80\x80\x80\x80\x80>}", 0), format_error,
"invalid fill");
"missing '}' in format string");
}
TEST(FormatterTest, PlusSign) {