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/shortcode_test.go | |
parent | 9347084d61a91c73bba1e04790b029163c38bacf (diff) |
node to page: Remove Node
And misc. TODO-fixes
Updates #2297
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r-- | hugolib/shortcode_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index d8b8b411a..3ea9ed4e6 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -69,9 +69,9 @@ title: "Title" t.Fatalf("No error from shortcode") } - require.Len(t, h.Sites[0].regularPages, 1) + require.Len(t, h.Sites[0].RegularPages, 1) - output := strings.TrimSpace(string(h.Sites[0].regularPages[0].Content)) + output := strings.TrimSpace(string(h.Sites[0].RegularPages[0].Content)) if strings.HasPrefix(output, "<p>") { output = output[3:] } |