summaryrefslogtreecommitdiffstats
path: root/hugolib/testhelpers_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-05-26 12:17:10 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-06-14 14:08:40 +0200
commit35fa192838ecfa244335fca957e55d3956a48665 (patch)
tree7a1dac873c8c219d0ca933aa2a36891d92764302 /hugolib/testhelpers_test.go
parent09ac73338198ceb143c1e5edc5859ab735cd80bb (diff)
deps: Udpate to github.com/alecthomas/chroma/v2
Fixes #9932 Fixes #9931
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 1a2c423f7..46fa35deb 100644
--- a/hugolib/testhelpers_test.go
+++ b/hugolib/testhelpers_test.go
@@ -853,7 +853,7 @@ func (th testHelper) assertFileContentRegexp(filename string, matches ...string)
r := regexp.MustCompile(match)
matches := r.MatchString(content)
if !matches {
- fmt.Println(match+":\n", content)
+ fmt.Println("Expected to match regexp:\n"+match+"\nGot:\n", content)
}
th.Assert(matches, qt.Equals, true)
}