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 cdf39568aa19bd6150790d43926f2d47bd37bad3..ee931b74a0fc0d72cb46cda79d6f965195799dfe 100644 |
--- a/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm |
+++ b/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm |
@@ -182,9 +182,12 @@ TEST(GlobalKeyboardShortcuts, KeyCharacterForEvent) { |
// cmd-'z' / cmd-shift-';' on dvorak-qwerty |
EXPECT_EQ('z', KeyCharacterForEvent( |
KeyEvent(true, true, false, false, @"z", @":"))); |
- // cmd-shift-'[' in an RTL context. |
+ // cmd-shift-'[' in an RTL context pre 10.9. |
EXPECT_EQ('{', KeyCharacterForEvent( |
KeyEvent(true, true, false, false, @"{", @"}"))); |
+ // cmd-shift-'[' in an RTL context on 10.9. |
+ EXPECT_EQ('{', KeyCharacterForEvent( |
+ KeyEvent(true, true, false, false, @"[", @"}"))); |
// Test if getting dead-key events return 0 and do not hang. |
EXPECT_EQ(0, KeyCharacterForEvent( |
KeyEvent(false, false, false, false, @"", @""))); |