trailing_zeros -> showpoint

This commit is contained in:
Victor Zverovich committed 2019-12-18 12:12:09 -08:00
1 parent d7e72a09e0
commit 1b1c70108a
3 files changed
+11 -10

No files matched your search

+1
View File
@@ -924,6 +924,7 @@ TEST(FormatterTest, HashFlag) {
EXPECT_EQ("-42.0", format("{0:#}", -42.0));
EXPECT_EQ("-42.0", format("{0:#}", -42.0l));
EXPECT_EQ("4.e+01", format("{:#.0e}", 42.0));
EXPECT_THROW_MSG(format("{0:#", 'c'), format_error,
"missing '}' in format string");
EXPECT_THROW_MSG(format("{0:#}", 'c'), format_error,