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 {
}
// Both URL and unpadding conversions
func rawUrlRef(ref string) string {
func rawURLRef(ref string) string {
return rawRef(urlRef(ref))
}
......@@ -83,12 +83,12 @@ var encodingTests = []encodingTest{
{StdEncoding, stdRef},
{URLEncoding, urlRef},
{RawStdEncoding, rawRef},
{RawURLEncoding, rawUrlRef},
{RawURLEncoding, rawURLRef},
{funnyEncoding, funnyRef},
{StdEncoding.Strict(), stdRef},
{URLEncoding.Strict(), urlRef},
{RawStdEncoding.Strict(), rawRef},
{RawURLEncoding.Strict(), rawUrlRef},
{RawURLEncoding.Strict(), rawURLRef},
{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