aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page_unwrap_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page_unwrap_test.go')
-rw-r--r--hugolib/page_unwrap_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/page_unwrap_test.go b/hugolib/page_unwrap_test.go
index 20888166a..bcc1b769a 100644
--- a/hugolib/page_unwrap_test.go
+++ b/hugolib/page_unwrap_test.go
@@ -26,6 +26,7 @@ func TestUnwrapPage(t *testing.T) {
p := &pageState{}
c.Assert(mustUnwrap(newPageForShortcode(p)), qt.Equals, p)
+ c.Assert(mustUnwrap(newPageForRenderHook(p)), qt.Equals, p)
}
func mustUnwrap(v interface{}) page.Page {