diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-10-28 11:10:27 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-10-28 11:54:23 +0200 |
commit | e54139c85b75b171076138eb971d17c7c2264e37 (patch) | |
tree | c1d9f9b2e34ed50567c9d915fcb8f93811396563 /hugolib | |
parent | 705e3cd5f558fb506f25c4255968bfdc907adb29 (diff) |
tpl/collections: Make delimit return a string
Closes #10876
Closes #11502
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/page_test.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 7e34f0499..ca6164d2c 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -356,8 +356,8 @@ func normalizeExpected(ext, str string) string { } func testAllMarkdownEnginesForPages(t *testing.T, - assertFunc func(t *testing.T, ext string, pages page.Pages), settings map[string]any, pageSources ...string) { - + assertFunc func(t *testing.T, ext string, pages page.Pages), settings map[string]any, pageSources ...string, +) { engines := []struct { ext string shouldExecute func() bool @@ -643,7 +643,6 @@ Simple Page With Some Date` } func TestPageRawContent(t *testing.T) { - files := ` -- hugo.toml -- -- content/basic.md -- @@ -668,7 +667,6 @@ title: "empty" b.AssertFileContent("public/basic/index.html", "|**basic**|") b.AssertFileContent("public/empty/index.html", "! title") - } func TestPageWithShortCodeInSummary(t *testing.T) { @@ -1954,5 +1952,4 @@ func TestRenderWithoutArgument(t *testing.T) { ).BuildE() b.Assert(err, qt.IsNotNil) - } |