mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-27 15:35:18 +00:00
Fix test.
This commit is contained in:
parent
7e6dd376b1
commit
9514da06e7
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user