diff options
Diffstat (limited to 'hugolib/site_show_plan_test.go')
-rw-r--r-- | hugolib/site_show_plan_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hugolib/site_show_plan_test.go b/hugolib/site_show_plan_test.go index db5bec7b6..23ae9c190 100644 --- a/hugolib/site_show_plan_test.go +++ b/hugolib/site_show_plan_test.go @@ -83,7 +83,7 @@ func _TestDegenerateNoTarget(t *testing.T) { func _TestFileTarget(t *testing.T) { testCommonResetState() - viper.Set("DefaultExtension", "html") + viper.Set("defaultExtension", "html") s := &Site{ Source: &source.InMemorySource{ByteSource: fakeSource}, @@ -104,8 +104,8 @@ func _TestFileTarget(t *testing.T) { func _TestPageTargetUgly(t *testing.T) { testCommonResetState() - viper.Set("DefaultExtension", "html") - viper.Set("UglyURLs", true) + viper.Set("defaultExtension", "html") + viper.Set("uglyURLs", true) s := &Site{ targets: targetList{page: &target.PagePub{UglyURLs: true, PublishDir: "public"}}, @@ -129,7 +129,7 @@ func _TestPageTargetUgly(t *testing.T) { func _TestFileTargetPublishDir(t *testing.T) { testCommonResetState() - viper.Set("DefaultExtension", "html") + viper.Set("defaultExtension", "html") s := &Site{ |