This commit is contained in:
Victor Zverovich committed 2014-01-28 12:49:36 -08:00
1 parent ea5dce3957
commit c3f5dce8d5
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -1022,6 +1022,10 @@ void CheckUnknownTypes(
}
}
TEST(FormatterTest, FormatBool) {
EXPECT_EQ(L"1", str(Format(L"{}") << true));
}
TEST(FormatterTest, FormatShort) {
short s = 42;
EXPECT_EQ("42", str(Format("{0:d}") << s));