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

Unified Diff: chrome/browser/history/in_memory_url_index_unittest.cc

Issue 9317011: Fine-tune HQP Candidate Result Scoring (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/history/in_memory_url_index_unittest.cc
===================================================================
--- chrome/browser/history/in_memory_url_index_unittest.cc (revision 120243)
+++ chrome/browser/history/in_memory_url_index_unittest.cc (working copy)
@@ -275,8 +275,9 @@
EXPECT_FALSE(matches[0].can_inline);
// Search which will match at the end of an URL with encoded characters.
- matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("ice"));
+ matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("Mice"));
ASSERT_EQ(1U, matches.size());
+ EXPECT_EQ(30, matches[0].url_info.id());
EXPECT_FALSE(matches[0].can_inline);
// Verify that a single term can appear multiple times in the URL and as long

Powered by Google App Engine
This is Rietveld 408576698