Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: chrome/browser/autocomplete/contact_provider_chromeos_unittest.cc

Issue 18878007: Omnibox: Make the Controller Reorder Matches for Inlining (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lacks -> has Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/contact_provider_chromeos_unittest.cc
diff --git a/chrome/browser/autocomplete/contact_provider_chromeos_unittest.cc b/chrome/browser/autocomplete/contact_provider_chromeos_unittest.cc
index 135693724f0003c4225d751cb4d519715d393fd7..097821020e6193b9ec4012aade7af1e2bb2cb38f 100644
--- a/chrome/browser/autocomplete/contact_provider_chromeos_unittest.cc
+++ b/chrome/browser/autocomplete/contact_provider_chromeos_unittest.cc
@@ -277,6 +277,7 @@ TEST_F(ContactProviderTest, Relevance) {
EXPECT_LE(matches[i].relevance, previous_relevance)
<< "Match " << i << " has greater relevance than previous match";
}
+ EXPECT_FALSE(matches[i].allowed_to_be_default_match);
previous_relevance = matches[i].relevance;
}
}

Powered by Google App Engine
This is Rietveld 408576698