Add example.

This commit is contained in:
Victor Zverovich 2014-04-20 08:46:24 -07:00
parent 03f68857e2
commit 656ca25177

View File

@ -1438,6 +1438,7 @@ TEST(FormatterTest, Examples) {
EXPECT_THROW_MSG(
Format("The answer is {:d}", "forty-two"), FormatError,
"unknown format code 'd' for string");
EXPECT_EQ(L"Cyrillic letter ю", Format(L"Cyrillic letter {}", L'ю'));
#endif
}