From 656ca25177c90642f5b25821a2526bd244b2f4a3 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 20 Apr 2014 08:46:24 -0700 Subject: [PATCH] Add example. --- format-test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/format-test.cc b/format-test.cc index babbb754..2660470b 100644 --- a/format-test.cc +++ b/format-test.cc @@ -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 }