Index: ui/views/controls/textfield/textfield_unittest.cc |
diff --git a/ui/views/controls/textfield/textfield_unittest.cc b/ui/views/controls/textfield/textfield_unittest.cc |
index 4de82b0a20be2f97ede82427d5dcb64d62d9a632..b93b01f3d872dd2ecc9bf5ba5208d64a423f9ccf 100644 |
--- a/ui/views/controls/textfield/textfield_unittest.cc |
+++ b/ui/views/controls/textfield/textfield_unittest.cc |
@@ -763,7 +763,7 @@ TEST_F(TextfieldTest, KeysWithModifiersTest) { |
SendKeyPress(ui::VKEY_T, shift); |
SendKeyPress(ui::VKEY_E, shift | altgr); |
SendKeyPress(ui::VKEY_X, 0); |
- SendKeyPress(ui::VKEY_T, ctrl); |
+ SendKeyPress(ui::VKEY_T, ctrl); // This causes transpose on Mac. |
SendKeyPress(ui::VKEY_1, alt); |
SendKeyPress(ui::VKEY_2, command); |
SendKeyPress(ui::VKEY_3, 0); |
@@ -776,7 +776,7 @@ TEST_F(TextfieldTest, KeysWithModifiersTest) { |
if (TestingNativeCrOs()) |
EXPECT_STR_EQ("TeTEx34", textfield_->text()); |
else if (TestingNativeMac()) |
- EXPECT_STR_EQ("TheTEx134", textfield_->text()); |
+ EXPECT_STR_EQ("TheTxE134", textfield_->text()); |
else |
EXPECT_STR_EQ("TeTEx234", textfield_->text()); |
} |