Unified acronym capitalization

See http://stackoverflow.com/a/27172000/52041
This commit is contained in:
Daniel Wolf
2016-11-16 11:49:25 +01:00
parent 3b599cc751
commit 8e1d1fbdd3
21 changed files with 69 additions and 69 deletions

View File

@@ -81,11 +81,11 @@ TEST(latin1ToWide, basic) {
EXPECT_EQ(pangramWide, latin1ToWide(pangramLatin1));
}
// toASCII
// toAscii
TEST(toASCII, string) {
TEST(toAscii, string) {
EXPECT_EQ(
"A naive man called was having pina colada and creme brulee.",
toASCII(U"A naïve man called 晨 was having piña colada and crème brûlée."));
EXPECT_EQ(string(""), toASCII(U""));
toAscii(U"A naïve man called 晨 was having piña colada and crème brûlée."));
EXPECT_EQ(string(""), toAscii(U""));
}