From c8d3124ddeb86093caf1b18dfaa328c3053e5b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 13 Nov 2016 14:27:10 +0100 Subject: node to page: Remove Node And misc. TODO-fixes Updates #2297 --- hugolib/page_permalink_test.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'hugolib/page_permalink_test.go') 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))}, } -- cgit v1.2.3