From 9514da06e79615b3ce66fd1f5800eac04ce7536f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 28 Apr 2014 19:27:41 -0700 Subject: [PATCH] Fix test. --- format-test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/format-test.cc b/format-test.cc index fd142296..e33bcb54 100644 --- a/format-test.cc +++ b/format-test.cc @@ -1593,7 +1593,8 @@ 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 ю", str(Format(L"Cyrillic letter {}", L'ю'))); + EXPECT_EQ(L"Cyrillic letter \x42e", + str(Format(L"Cyrillic letter {}", L'\x42e'))); #endif }