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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page_unwrap_test.go b/hugolib/page_unwrap_test.go
index bcc1b769a..2d9b5e17f 100644
--- a/hugolib/page_unwrap_test.go
+++ b/hugolib/page_unwrap_test.go
@@ -29,7 +29,7 @@ func TestUnwrapPage(t *testing.T) {
c.Assert(mustUnwrap(newPageForRenderHook(p)), qt.Equals, p)
}
-func mustUnwrap(v interface{}) page.Page {
+func mustUnwrap(v any) page.Page {
p, err := unwrapPage(v)
if err != nil {
panic(err)