diff options
author | Anthony Fok <foka@debian.org> | 2015-03-18 08:16:54 +0300 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-18 13:30:37 +0300 |
commit | 8b8fb417ae065954a056ea018bd092748cc9127c (patch) | |
tree | a9160d1f6acc218bcb8728d729deaf1b532b56b3 /target | |
parent | ca69cad8aa5d8eefbce13abd97b2b979339a458c (diff) |
More initialism corrections (golint)
Thanks to @bep's new, brilliant helpers.Deprecated() function,
the following functions or variables are transitioned to their
new names, preserving backward compatibility for v0.14
and warning the user of upcoming obsolescence in v0.15:
* .Url → .URL (for node, menu and paginator)
* .Site.BaseUrl → .Site.BaseURL
* .Site.Indexes → .Site.Taxonomies
* .Site.Recent → .Site.Pages
* getJson → getJSON
* getCsv → getCSV
* safeHtml → safeHTML
* safeCss → safeCSS
* safeUrl → safeURL
Also fix related initialisms in strings and comments.
Continued effort in fixing #959.
Diffstat (limited to 'target')
-rw-r--r-- | target/page_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/page_test.go b/target/page_test.go index 250a3e3d1..20f5649ed 100644 --- a/target/page_test.go +++ b/target/page_test.go @@ -62,7 +62,7 @@ func TestPageTranslatorBase(t *testing.T) { } } -func TestTranslateUglyUrls(t *testing.T) { +func TestTranslateUglyURLs(t *testing.T) { tests := []struct { content string expected string |