diff options
Diffstat (limited to 'hugolib/page_permalink_test.go')
-rw-r--r-- | hugolib/page_permalink_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hugolib/page_permalink_test.go b/hugolib/page_permalink_test.go index b73e08721..dc4dc8371 100644 --- a/hugolib/page_permalink_test.go +++ b/hugolib/page_permalink_test.go @@ -16,8 +16,8 @@ func TestPermalink(t *testing.T) { base template.URL slug string url string - uglyUrls bool - canonifyUrls bool + uglyURLs bool + canonifyURLs bool expectedAbs string expectedRel string }{ @@ -42,8 +42,8 @@ func TestPermalink(t *testing.T) { viper.Set("DefaultExtension", "html") for i, test := range tests { - viper.Set("uglyurls", test.uglyUrls) - viper.Set("canonifyurls", test.canonifyUrls) + viper.Set("uglyurls", test.uglyURLs) + viper.Set("canonifyurls", test.canonifyURLs) p := &Page{ Node: Node{ UrlPath: UrlPath{ |