Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2015-03-18 08:16:54 +0300
committerbep <bjorn.erik.pedersen@gmail.com>2015-03-18 13:30:37 +0300
commit8b8fb417ae065954a056ea018bd092748cc9127c (patch)
treea9160d1f6acc218bcb8728d729deaf1b532b56b3 /target
parentca69cad8aa5d8eefbce13abd97b2b979339a458c (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.go2
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