Fix incorrect call to on_align in '{:}=' (#750)

This commit is contained in:
Victor Zverovich
2018-05-26 09:23:09 -07:00
parent fba352a92a
commit e2cd521b8f
2 changed files with 35 additions and 33 deletions
+1
View File
@@ -435,6 +435,7 @@ TEST(FormatterTest, Fill) {
EXPECT_EQ("c****", format("{0:*<5}", 'c'));
EXPECT_EQ("abc**", format("{0:*<5}", "abc"));
EXPECT_EQ("**0xface", format("{0:*>8}", reinterpret_cast<void*>(0xface)));
EXPECT_EQ("foo=", format("{:}=", "foo"));
}
TEST(FormatterTest, PlusSign) {