Index: chrome/browser/autocomplete/shortcuts_provider_unittest.cc |
diff --git a/chrome/browser/autocomplete/shortcuts_provider_unittest.cc b/chrome/browser/autocomplete/shortcuts_provider_unittest.cc |
index a6fef300ea049bcada2e9947d76296f25515729f..5fda06ae325306fc2ee31ffb06d2f612d43edfd4 100644 |
--- a/chrome/browser/autocomplete/shortcuts_provider_unittest.cc |
+++ b/chrome/browser/autocomplete/shortcuts_provider_unittest.cc |
@@ -255,6 +255,12 @@ void ShortcutsProviderTest::RunTest(const string16 text, |
ac_matches_.end(), AutocompleteMatch::MoreRelevant); |
EXPECT_EQ(expected_top_result, ac_matches_[0].destination_url.spec()); |
} |
+ |
+ // No shortcuts matches are allowed to be inlined no matter how highly |
+ // they score. |
+ for (ACMatches::const_iterator it = ac_matches_.begin(); |
+ it != ac_matches_.end(); ++it) |
+ EXPECT_FALSE(it->allowed_to_be_default_match); |
} |
TEST_F(ShortcutsProviderTest, SimpleSingleMatch) { |