Fix ostream support in sprintf (#1631)

This commit is contained in:
Victor Zverovich committed 2020-04-12 07:53:17 -07:00
1 parent 3cd5179f32
commit e99809f29d
6 files changed
+48 -18

No files matched your search

+1 -3
View File
@@ -508,9 +508,7 @@ TEST(PrintfTest, PrintfError) {
TEST(PrintfTest, WideString) { EXPECT_EQ(L"abc", fmt::sprintf(L"%s", L"abc")); }
TEST(PrintfTest, PrintfCustom) {
// The test is disabled for now because it requires decoupling
// fallback_formatter::format from format_context.
//EXPECT_EQ("abc", test_sprintf("%s", TestString("abc")));
EXPECT_EQ("abc", test_sprintf("%s", TestString("abc")));
}
TEST(PrintfTest, OStream) {