summaryrefslogtreecommitdiffhomepage
path: root/hugolib/testhelpers_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-11-21 19:45:03 +0100
committerBjørn Erik Pedersen <[email protected]>2019-11-22 18:41:40 +0100
commitcd07e6d57b158a76f812e8c4c9567dbc84f57939 (patch)
tree2b16255aabae10b38d49f672843072f895fbf2f4 /hugolib/testhelpers_test.go
parent628efd6e293d27984a3f5ba33522f8edd19d69d6 (diff)
downloadhugo-cd07e6d57b158a76f812e8c4c9567dbc84f57939.tar.gz
hugo-cd07e6d57b158a76f812e8c4c9567dbc84f57939.zip
Fix GetPage Params case issue
Fixes #5946
Diffstat (limited to 'hugolib/testhelpers_test.go')
-rw-r--r--hugolib/testhelpers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/testhelpers_test.go b/hugolib/testhelpers_test.go
index 00f802359..08949a1fd 100644
--- a/hugolib/testhelpers_test.go
+++ b/hugolib/testhelpers_test.go
@@ -743,7 +743,7 @@ func (th testHelper) assertFileContent(filename string, matches ...string) {
content := readDestination(th, th.Fs, filename)
for _, match := range matches {
match = th.replaceDefaultContentLanguageValue(match)
- th.Assert(strings.Contains(content, match), qt.Equals, true)
+ th.Assert(strings.Contains(content, match), qt.Equals, true, qt.Commentf(content))
}
}