summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-19 19:10:30 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-19 19:10:30 +0000
commit388f3ad136953404388befdfab941b9749d96bc7 (patch)
tree757a4e09282b55f2ef0a522d6647684faa4e8740 /chrome
parentde5cb8cc2d7c720c19e5bb0b086524306cfe4520 (diff)
downloadchromium_src-388f3ad136953404388befdfab941b9749d96bc7.zip
chromium_src-388f3ad136953404388befdfab941b9749d96bc7.tar.gz
chromium_src-388f3ad136953404388befdfab941b9749d96bc7.tar.bz2
The test was failing in chromeos build.
TBR=evan@chromium.org BUG=none TEST=PageMenuModelTest.Basics shoud pass . Review URL: http://codereview.chromium.org/542100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36532 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/page_menu_model_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/page_menu_model_unittest.cc b/chrome/browser/page_menu_model_unittest.cc
index dbac3aa..9c38b0b 100644
--- a/chrome/browser/page_menu_model_unittest.cc
+++ b/chrome/browser/page_menu_model_unittest.cc
@@ -27,8 +27,9 @@ TEST_F(PageMenuModelTest, Basics) {
// delegate is internal, it doesn't use the one we pass in.
model.ActivatedAt(0);
EXPECT_TRUE(model.IsEnabledAt(0));
- model.ActivatedAt(3);
- EXPECT_TRUE(model.IsEnabledAt(3));
+ // Make sure to use the index that is not separator in all configurations.
+ model.ActivatedAt(2);
+ EXPECT_TRUE(model.IsEnabledAt(2));
EXPECT_EQ(delegate_.execute_count_, 2);
EXPECT_EQ(delegate_.enable_count_, 2);