diff options
author | Bjørn Erik Pedersen <[email protected]> | 2019-11-21 19:45:03 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-11-22 18:41:40 +0100 |
commit | cd07e6d57b158a76f812e8c4c9567dbc84f57939 (patch) | |
tree | 2b16255aabae10b38d49f672843072f895fbf2f4 /hugolib/testhelpers_test.go | |
parent | 628efd6e293d27984a3f5ba33522f8edd19d69d6 (diff) | |
download | hugo-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.go | 2 |
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)) } } |