Index: chrome/browser/global_keyboard_shortcuts_mac_unittest.mm |
diff --git a/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm b/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm |
index 4e3ab071810dc2d7f6dcdfd04d0de5f55094acc1..7db9a345d87f1a0108146c57b280334fe682f7bc 100644 |
--- a/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm |
+++ b/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm |
@@ -128,6 +128,9 @@ TEST(GlobalKeyboardShortcuts, KeyCharacterForEvent) { |
// cmd-'z' / cmd-shift-';' on dvorak-qwerty |
ASSERT_EQ('z', KeyCharacterForEvent( |
KeyEvent(true, true, false, false, @"z", @":"))); |
+ // cmd-shift-'[' in an RTL context. |
+ ASSERT_EQ('{', KeyCharacterForEvent( |
+ KeyEvent(true, true, false, false, @"{", @"}"))); |
// Test if getting dead-key events return 0 and do not hang. |
ASSERT_EQ(0, KeyCharacterForEvent( |
KeyEvent(false, false, false, false, @"", @""))); |