Test and fix writing wide chars.

This commit is contained in:
Victor Zverovich
2013-09-06 19:34:55 -07:00
parent 525de51320
commit c2e65d1371
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1032,6 +1032,7 @@ TEST(FormatterTest, WideFormatString) {
EXPECT_EQ(L"42", str(Format(L"{}") << 42));
EXPECT_EQ(L"4.2", str(Format(L"{}") << 4.2));
EXPECT_EQ(L"abc", str(Format(L"{}") << L"abc"));
EXPECT_EQ(L"z", str(Format(L"{}") << L'z'));
}
TEST(FormatterTest, FormatStringFromSpeedTest) {