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

Unified Diff: chrome/browser/find_backend_unittest.cc

Issue 119055: Port 2 more unittests to linux/mac. Just some small compiler warnings. (Closed)
Patch Set: Created 11 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/find_backend_unittest.cc
diff --git a/chrome/browser/find_backend_unittest.cc b/chrome/browser/find_backend_unittest.cc
index 4179cc2d592f5536aa6a23021a4dc9fdfa9f77af..e986d5a7f24ffc0fd6498f4d784c4a0ecd2eaa69 100644
--- a/chrome/browser/find_backend_unittest.cc
+++ b/chrome/browser/find_backend_unittest.cc
@@ -23,9 +23,9 @@ TEST_F(FindBackendTest, InternalState) {
EXPECT_EQ(string16(), contents2.find_prepopulate_text());
EXPECT_EQ(string16(), contents2.find_text());
- string16 search_term1 = L" I had a 401K ";
- string16 search_term2 = L" but the economy ";
- string16 search_term3 = L" eated it. ";
+ string16 search_term1 = ASCIIToUTF16(" I had a 401K ");
+ string16 search_term2 = ASCIIToUTF16(" but the economy ");
+ string16 search_term3 = ASCIIToUTF16(" eated it. ");
// Start searching in the first TabContents, searching forwards but not case
// sensitive (as indicated by the last two params).
« no previous file with comments | « no previous file | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698