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

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

Issue 10913262: Implement Bookmark Autocomplete Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed match position coalescing. Created 8 years, 2 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/query_parser_unittest.cc
===================================================================
--- chrome/browser/history/query_parser_unittest.cc (revision 159706)
+++ chrome/browser/history/query_parser_unittest.cc (working copy)
@@ -97,8 +97,10 @@
const size_t m2_start;
const size_t m2_end;
} data[] = {
+ { "foo", "fooey foo", true, 0, 3, 6, 9 },
{ "foo foo", "foo", true, 0, 3, 0, 0 },
{ "foo fooey", "fooey", true, 0, 5, 0, 0 },
+ { "fooey foo", "fooey", true, 0, 5, 0, 0 },
{ "foo fooey bar", "bar fooey", true, 0, 3, 4, 9 },
{ "blah", "blah", true, 0, 4, 0, 0 },
{ "blah", "foo", false, 0, 0, 0, 0 },

Powered by Google App Engine
This is Rietveld 408576698