| Index: ui/base/l10n/l10n_util_unittest.cc
|
| diff --git a/ui/base/l10n/l10n_util_unittest.cc b/ui/base/l10n/l10n_util_unittest.cc
|
| index cc25d367884584dd1fa3c20dfa37c0b8080635cf..6474740f2b2c4317486b9be8e17583cb54fbc0f9 100644
|
| --- a/ui/base/l10n/l10n_util_unittest.cc
|
| +++ b/ui/base/l10n/l10n_util_unittest.cc
|
| @@ -459,6 +459,12 @@ TEST_F(L10nUtilTest, GetDisplayNameForLocale) {
|
| result = l10n_util::GetDisplayNameForLocale("xyz-xyz", "en", false);
|
| EXPECT_EQ(ASCIIToUTF16("xyz (XYZ)"), result);
|
|
|
| + // Make sure that en-GB locale has the corect display names.
|
| + result = l10n_util::GetDisplayNameForLocale("en", "en-GB", false);
|
| + EXPECT_EQ(ASCIIToUTF16("English"), result);
|
| + result = l10n_util::GetDisplayNameForLocale("es-419", "en-GB", false);
|
| + EXPECT_EQ(ASCIIToUTF16("Spanish (Latin America)"), result);
|
| +
|
| // Check for directional markers when using RTL languages to ensure that
|
| // direction neutral characters such as parentheses are properly formatted.
|
|
|
|
|