diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-11 14:57:22 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-11 14:57:22 +0000 |
commit | a0a8b1dafec8eb65006ec73cc1d74a4c50cf61f0 (patch) | |
tree | 82d0f7cc859fb30f35d82258d5cff2fad6d706d2 /chrome/browser/tab_contents/web_contents_unittest.cc | |
parent | 2b96e614bce2dc0a46f32881d2f7584a1cf569e2 (diff) | |
download | chromium_src-a0a8b1dafec8eb65006ec73cc1d74a4c50cf61f0.zip chromium_src-a0a8b1dafec8eb65006ec73cc1d74a4c50cf61f0.tar.gz chromium_src-a0a8b1dafec8eb65006ec73cc1d74a4c50cf61f0.tar.bz2 |
Add a couple more unit tests to the Mac build
Review URL: http://codereview.chromium.org/43076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents_unittest.cc')
-rw-r--r-- | chrome/browser/tab_contents/web_contents_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/web_contents_unittest.cc b/chrome/browser/tab_contents/web_contents_unittest.cc index 134b43a..85458cb 100644 --- a/chrome/browser/tab_contents/web_contents_unittest.cc +++ b/chrome/browser/tab_contents/web_contents_unittest.cc @@ -206,7 +206,8 @@ TEST_F(WebContentsTest, UpdateTitle) { controller()->RendererDidNavigate(params, &details); contents()->UpdateTitle(rvh(), 0, L" Lots O' Whitespace\n"); - EXPECT_EQ(std::wstring(L"Lots O' Whitespace"), contents()->GetTitle()); + EXPECT_EQ(std::wstring(L"Lots O' Whitespace"), + UTF16ToWideHack(contents()->GetTitle())); } // Test simple same-SiteInstance navigation. |