diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 23:38:16 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 23:38:16 +0000 |
commit | 43101c0334b3297868085e661a2e92f935434a5e (patch) | |
tree | f681fad14c27259bf344fb1392ca5dd5b39bdce9 /chrome/browser/autocomplete/autocomplete_unittest.cc | |
parent | eb6439387ab5035450035d606f6ff32319c13789 (diff) | |
download | chromium_src-43101c0334b3297868085e661a2e92f935434a5e.zip chromium_src-43101c0334b3297868085e661a2e92f935434a5e.tar.gz chromium_src-43101c0334b3297868085e661a2e92f935434a5e.tar.bz2 |
Properly handle empty components when converting url_parse::Parsed object.
Add a unittest for the below bug.
BUG=9859
Review URL: http://codereview.chromium.org/62162
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_unittest.cc')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_unittest.cc b/chrome/browser/autocomplete/autocomplete_unittest.cc index eb15f2a..e6704d39 100644 --- a/chrome/browser/autocomplete/autocomplete_unittest.cc +++ b/chrome/browser/autocomplete/autocomplete_unittest.cc @@ -234,6 +234,7 @@ TEST(AutocompleteTest, InputType) { { L"http://foo.com/", AutocompleteInput::URL }, { L"127.0.0.1", AutocompleteInput::URL }, { L"browser.tabs.closeButtons", AutocompleteInput::UNKNOWN }, + { L"\u6d4b\u8bd5", AutocompleteInput::UNKNOWN }, }; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(input_cases); ++i) { |