Commit 90bd5ecc authored by Mark Ryan's avatar Mark Ryan Committed by Brad Fitzpatrick

encoding/base64: Rename rawUrlRef to rawURLRef

This commit fixes an issue reported by golint.  The code was modified by running

gorename -from '"encoding/base64".rawUrlRef' -to rawURLRef

Change-Id: I428167e0808e85b2dc6b516298ff5c090dfe3430
Reviewed-on: https://go-review.googlesource.com/41474Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
parent fe885fbd
...@@ -63,7 +63,7 @@ func rawRef(ref string) string { ...@@ -63,7 +63,7 @@ func rawRef(ref string) string {
} }
// Both URL and unpadding conversions // Both URL and unpadding conversions
func rawUrlRef(ref string) string { func rawURLRef(ref string) string {
return rawRef(urlRef(ref)) return rawRef(urlRef(ref))
} }
...@@ -83,12 +83,12 @@ var encodingTests = []encodingTest{ ...@@ -83,12 +83,12 @@ var encodingTests = []encodingTest{
{StdEncoding, stdRef}, {StdEncoding, stdRef},
{URLEncoding, urlRef}, {URLEncoding, urlRef},
{RawStdEncoding, rawRef}, {RawStdEncoding, rawRef},
{RawURLEncoding, rawUrlRef}, {RawURLEncoding, rawURLRef},
{funnyEncoding, funnyRef}, {funnyEncoding, funnyRef},
{StdEncoding.Strict(), stdRef}, {StdEncoding.Strict(), stdRef},
{URLEncoding.Strict(), urlRef}, {URLEncoding.Strict(), urlRef},
{RawStdEncoding.Strict(), rawRef}, {RawStdEncoding.Strict(), rawRef},
{RawURLEncoding.Strict(), rawUrlRef}, {RawURLEncoding.Strict(), rawURLRef},
{funnyEncoding.Strict(), funnyRef}, {funnyEncoding.Strict(), funnyRef},
} }
......
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