summaryrefslogtreecommitdiffstats
path: root/hugolib
diff options
context:
space:
mode:
authorJoe Mooring <joe.mooring@veriphor.com>2022-12-22 08:39:42 -0800
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-12-22 18:53:12 +0100
commit71832328f86747eac8b97fabdbdc6b74aef7a9f8 (patch)
treeb05e0d2ce012c58eeb248c2add4864d6ead5f38e /hugolib
parent37ab1cf12acf3f0cd6eeca7a12edf80fb0f60c2f (diff)
Annotate test assertions
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/integration_test.go11
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>",
- )
}