mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user