diff options
author | Joe Mooring <[email protected]> | 2022-12-22 08:39:42 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-12-22 18:53:12 +0100 |
commit | 71832328f86747eac8b97fabdbdc6b74aef7a9f8 (patch) | |
tree | b05e0d2ce012c58eeb248c2add4864d6ead5f38e | |
parent | 37ab1cf12acf3f0cd6eeca7a12edf80fb0f60c2f (diff) | |
download | hugo-71832328f86747eac8b97fabdbdc6b74aef7a9f8.tar.gz hugo-71832328f86747eac8b97fabdbdc6b74aef7a9f8.zip |
Annotate test assertions
-rw-r--r-- | hugolib/integration_test.go | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/hugolib/integration_test.go b/hugolib/integration_test.go index de8a6179b..417fe2129 100644 --- 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>", - ) } |