Commit 139a66fd authored by sail@chromium.org's avatar sail@chromium.org

Fix ProfileDownloaderTest.DefaultURL

The unit test was causing a DCHECK to fail. IsDefaultProfileImageURL() doesn't expect an invalid URL so I remvoed the invalid URL.

TBR=ivankr@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8821007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113162 0039d316-1c4b-4281-b951-d872f2087c98
parent 3ebe558b
......@@ -99,6 +99,4 @@ TEST_F(ProfileDownloaderTest, DefaultURL) {
// Not default with 7 components
EXPECT_FALSE(ProfileDownloader::IsDefaultProfileImageURL(
"https://example.com/-4/AAAAAAAAAAI/AAAAAAAAACQ/Efg/s32-c/photo.jpg"));
// Not default with invalid URL
EXPECT_FALSE(ProfileDownloader::IsDefaultProfileImageURL("invalid url"));
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment