mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02: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