mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
@@ -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)
|
||||
|
Reference in New Issue
Block a user