diff options
author | brg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 22:40:27 +0000 |
---|---|---|
committer | brg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 22:40:27 +0000 |
commit | 6e7a37818c0bffbd6cd2f500c37185f76d817337 (patch) | |
tree | f6adf9d42d648aa40dc61d99966686ef74a4847c /net/base/escape_unittest.cc | |
parent | 62d30f47055262ff3793ef0404e3de051680e8c9 (diff) | |
download | chromium_src-6e7a37818c0bffbd6cd2f500c37185f76d817337.zip chromium_src-6e7a37818c0bffbd6cd2f500c37185f76d817337.tar.gz chromium_src-6e7a37818c0bffbd6cd2f500c37185f76d817337.tar.bz2 |
Rename EscapeUrl and expand the code comment.
BUG=none
TEST=Escape.EscapeUrlEncodedData
Review URL: http://codereview.chromium.org/257021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/escape_unittest.cc')
-rw-r--r-- | net/base/escape_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/escape_unittest.cc b/net/base/escape_unittest.cc index 6601edc..3a9ed70 100644 --- a/net/base/escape_unittest.cc +++ b/net/base/escape_unittest.cc @@ -107,10 +107,10 @@ TEST(Escape, EscapePath) { "%7B%7C%7D~%7F%80%FF"); } -TEST(Escape, EscapeUrl) { +TEST(Escape, EscapeUrlEncodedData) { ASSERT_EQ( // Most of the character space we care about, un-escaped - EscapeUrl( + EscapeUrlEncodedData( "\x02\n\x1d !\"#$%&'()*+,-./0123456789:;" "<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ" "[\\]^_`abcdefghijklmnopqrstuvwxyz" |