summaryrefslogtreecommitdiffstats
path: root/hugolib/site_output_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site_output_test.go')
-rw-r--r--hugolib/site_output_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/hugolib/site_output_test.go b/hugolib/site_output_test.go
index 6ad53c0f8..3e5df6a63 100644
--- a/hugolib/site_output_test.go
+++ b/hugolib/site_output_test.go
@@ -32,10 +32,10 @@ func TestDefaultOutputDefinitions(t *testing.T) {
tests := []struct {
name string
kind string
- want []output.Type
+ want []output.Format
}{
- {"RSS not for regular pages", KindPage, []output.Type{output.HTMLType}},
- {"Home Sweet Home", KindHome, []output.Type{output.HTMLType, output.RSSType}},
+ {"RSS not for regular pages", KindPage, []output.Format{output.HTMLType}},
+ {"Home Sweet Home", KindHome, []output.Format{output.HTMLType, output.RSSType}},
}
for _, tt := range tests {
@@ -88,7 +88,7 @@ outputs: ["json"]
require.NotNil(t, home)
- require.Len(t, home.outputTypes, 1)
+ require.Len(t, home.outputFormats, 1)
// TODO(bep) output assert template/text