diff options
Diffstat (limited to 'hugolib/page_permalink_test.go')
-rw-r--r-- | hugolib/page_permalink_test.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/hugolib/page_permalink_test.go b/hugolib/page_permalink_test.go index f025c4f4f..13a9311f3 100644 --- a/hugolib/page_permalink_test.go +++ b/hugolib/page_permalink_test.go @@ -67,13 +67,11 @@ func TestPermalink(t *testing.T) { p := &Page{ Kind: KindPage, - Node: Node{ - URLPath: URLPath{ - Section: "z", - URL: test.url, - }, - Site: &info, + URLPath: URLPath{ + Section: "z", + URL: test.url, }, + Site: &info, Source: Source{File: *source.NewFile(filepath.FromSlash(test.file))}, } |