Index: ash/accelerators/accelerator_controller_unittest.cc |
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc |
index 93277eafc08add99af78300ed01b1180649b3470..d3b080a313784fda01af5a1040c32922c57e056a 100644 |
--- a/ash/accelerators/accelerator_controller_unittest.cc |
+++ b/ash/accelerators/accelerator_controller_unittest.cc |
@@ -1246,7 +1246,7 @@ TEST_F(AcceleratorControllerTest, DisallowedWithNoWindow) { |
for (size_t i = 0; i < kActionsNeedingWindowLength; ++i) { |
delegate->TriggerAccessibilityAlert(A11Y_ALERT_NONE); |
GetController()->PerformAction(kActionsNeedingWindow[i], dummy); |
- EXPECT_EQ(delegate->GetLastAccessibilityAlert(), A11Y_ALERT_NONE); |
+ EXPECT_NE(delegate->GetLastAccessibilityAlert(), A11Y_ALERT_WINDOW_NEEDED); |
} |
// Don't alert if we have a minimized window either. |
@@ -1254,7 +1254,7 @@ TEST_F(AcceleratorControllerTest, DisallowedWithNoWindow) { |
for (size_t i = 0; i < kActionsNeedingWindowLength; ++i) { |
delegate->TriggerAccessibilityAlert(A11Y_ALERT_NONE); |
GetController()->PerformAction(kActionsNeedingWindow[i], dummy); |
- EXPECT_EQ(delegate->GetLastAccessibilityAlert(), A11Y_ALERT_NONE); |
+ EXPECT_NE(delegate->GetLastAccessibilityAlert(), A11Y_ALERT_WINDOW_NEEDED); |
} |
} |