| Index: chrome/browser/history/query_parser_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/history/query_parser_unittest.cc (revision 10992)
|
| +++ chrome/browser/history/query_parser_unittest.cc (working copy)
|
| @@ -46,10 +46,14 @@
|
|
|
| // Quoted substring parsing.
|
| TEST_F(QueryParserTest, Quoted) {
|
| - EXPECT_EQ(L"\"Quoted\"", QueryToString(L"\"Quoted\"")); // ASCII quotes
|
| - EXPECT_EQ(L"\"miss end\"", QueryToString(L"\"miss end")); // Missing end quotes
|
| - EXPECT_EQ(L"miss* beg*", QueryToString(L"miss beg\"")); // Missing begin quotes
|
| - EXPECT_EQ(L"\"Many\" \"quotes\"", QueryToString(L"\"Many \"\"quotes")); // Weird formatting
|
| + // ASCII quotes
|
| + EXPECT_EQ(L"\"Quoted\"", QueryToString(L"\"Quoted\""));
|
| + // Missing end quotes
|
| + EXPECT_EQ(L"\"miss end\"", QueryToString(L"\"miss end"));
|
| + // Missing begin quotes
|
| + EXPECT_EQ(L"miss* beg*", QueryToString(L"miss beg\""));
|
| + // Weird formatting
|
| + EXPECT_EQ(L"\"Many\" \"quotes\"", QueryToString(L"\"Many \"\"quotes"));
|
| }
|
|
|
| // Apostrophes within words should be preserved, but otherwise stripped.
|
|
|