diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 21:07:27 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 21:07:27 +0000 |
commit | d3216441b7726c31fb0ae9b9d90b64421e14ca39 (patch) | |
tree | 653882df34541ec7aa37e4024f8fce27fd9ba5b6 /chrome/browser/history/query_parser_unittest.cc | |
parent | ba61ace67a08e56026d2e8034d7a938d2f8e5bd6 (diff) | |
download | chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.zip chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.tar.gz chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.tar.bz2 |
NO CODE CHANGE.
Split the lines >80 cols. (Part 1)
Review URL: http://codereview.chromium.org/39206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/query_parser_unittest.cc')
-rw-r--r-- | chrome/browser/history/query_parser_unittest.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/browser/history/query_parser_unittest.cc b/chrome/browser/history/query_parser_unittest.cc index 6d425e91..d36fb68 100644 --- a/chrome/browser/history/query_parser_unittest.cc +++ b/chrome/browser/history/query_parser_unittest.cc @@ -46,10 +46,14 @@ TEST_F(QueryParserTest, SimpleQueries) { // 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. |