Annotate test assertions - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 71832328f86747eac8b97fabdbdc6b74aef7a9f8
(DIR) parent 37ab1cf12acf3f0cd6eeca7a12edf80fb0f60c2f
(HTM) Author: Joe Mooring <joe.mooring@veriphor.com>
Date: Thu, 22 Dec 2022 08:39:42 -0800
Annotate test assertions
Diffstat:
M hugolib/integration_test.go | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/hugolib/integration_test.go b/hugolib/integration_test.go
@@ -65,20 +65,25 @@ tags: ['T1']
)
b.Build()
+ // Kind home
+ b.AssertFileContent("public/en/index.html",
+ "<ul><li>Issue-9073-en</li></ul>",
+ )
+ // Kind section
b.AssertFileContent("public/en/posts/index.html",
"<ul><li>Posts-en</li></ul>",
)
+ // Kind page
b.AssertFileContent("public/en/posts/p1/index.html",
"<ul><li>P1-en</li></ul>",
)
+ // Kind taxonomy
b.AssertFileContent("public/en/tags/index.html",
"<ul><li>Tags-en</li></ul>",
)
+ // Kind term
b.AssertFileContent("public/en/tags/t1/index.html",
"<ul><li>T1-en</li></ul>",
)
- b.AssertFileContent("public/en/index.html",
- "<ul><li>Issue-9073-en</li></ul>",
- )
}