Index: chrome/browser/autocomplete/autocomplete_unittest.cc |
diff --git a/chrome/browser/autocomplete/autocomplete_unittest.cc b/chrome/browser/autocomplete/autocomplete_unittest.cc |
index f0c7dab361017d988ab14f6a8e7b9f65653198dd..6fcf436875012c7c6ef2b0ab205808b50e317015 100644 |
--- a/chrome/browser/autocomplete/autocomplete_unittest.cc |
+++ b/chrome/browser/autocomplete/autocomplete_unittest.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -373,6 +373,12 @@ TEST_F(AutocompleteTest, InputType) { |
{ ASCIIToUTF16("[2001:dB8::1]"), AutocompleteInput::URL }, |
{ ASCIIToUTF16("192.168.0.256"), AutocompleteInput::QUERY }, |
{ ASCIIToUTF16("[foo.com]"), AutocompleteInput::QUERY }, |
+ { ASCIIToUTF16("filesystem:http://a.com/t/bar"), AutocompleteInput::URL }, |
+ { ASCIIToUTF16("filesystem:http:foo"), AutocompleteInput::URL }, |
+ { ASCIIToUTF16("filesystem:file://"), AutocompleteInput::URL }, |
+ { ASCIIToUTF16("filesystem:http"), AutocompleteInput::URL }, |
+ { ASCIIToUTF16("filesystem:"), AutocompleteInput::URL }, |
+ { ASCIIToUTF16("ftp:"), AutocompleteInput::URL }, |
}; |
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(input_cases); ++i) { |