Commit 656ca251 authored by Victor Zverovich's avatar Victor Zverovich

Add example.

parent 03f68857
...@@ -1438,6 +1438,7 @@ TEST(FormatterTest, Examples) { ...@@ -1438,6 +1438,7 @@ TEST(FormatterTest, Examples) {
EXPECT_THROW_MSG( EXPECT_THROW_MSG(
Format("The answer is {:d}", "forty-two"), FormatError, Format("The answer is {:d}", "forty-two"), FormatError,
"unknown format code 'd' for string"); "unknown format code 'd' for string");
EXPECT_EQ(L"Cyrillic letter ю", Format(L"Cyrillic letter {}", L'ю'));
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment