diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-15 16:42:54 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-15 18:08:06 +0200 |
commit | 417c5e2b67b97fa80a0b6f77d259966f03b95344 (patch) | |
tree | 9012bff91acfd5656c68450556909d6f258cc236 /hugolib/embedded_shortcodes_test.go | |
parent | 94c8b29c39d0c485ee91d98c08fd615c28802496 (diff) |
Make Page.Content a method that returns interface{}
To prepare for a `Resource.Content` method.
See #4622
Diffstat (limited to 'hugolib/embedded_shortcodes_test.go')
-rw-r--r-- | hugolib/embedded_shortcodes_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/embedded_shortcodes_test.go b/hugolib/embedded_shortcodes_test.go index 50da35c5b..fb663f1cb 100644 --- a/hugolib/embedded_shortcodes_test.go +++ b/hugolib/embedded_shortcodes_test.go @@ -69,7 +69,7 @@ func doTestShortcodeCrossrefs(t *testing.T, relative bool) { require.Len(t, s.RegularPages, 1) - output := string(s.RegularPages[0].Content) + output := string(s.RegularPages[0].content) if !strings.Contains(output, expected) { t.Errorf("Got\n%q\nExpected\n%q", output, expected) |