diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-13 14:27:10 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-22 09:57:03 +0100 |
commit | c8d3124ddeb86093caf1b18dfaa328c3053e5b63 (patch) | |
tree | 70ff5902eb6ceb5e27202c21b9189e18ee3ea8cb /hugolib/page_permalink_test.go | |
parent | 9347084d61a91c73bba1e04790b029163c38bacf (diff) |
node to page: Remove Node
And misc. TODO-fixes
Updates #2297
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))}, } |