summaryrefslogtreecommitdiffstats
path: root/hugolib/siteJSONEncode_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/siteJSONEncode_test.go')
-rw-r--r--hugolib/siteJSONEncode_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/siteJSONEncode_test.go b/hugolib/siteJSONEncode_test.go
index cf34fe728..9e2f6ecc2 100644
--- a/hugolib/siteJSONEncode_test.go
+++ b/hugolib/siteJSONEncode_test.go
@@ -30,7 +30,7 @@ func TestEncodePage(t *testing.T) {
_, err := json.Marshal(s)
check(t, err)
- _, err = json.Marshal(s.Pages[0])
+ _, err = json.Marshal(s.regularPages[0])
check(t, err)
}