diff options
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/page__per_output.go | 2 | ||||
-rw-r--r-- | hugolib/testhelpers_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page__per_output.go b/hugolib/page__per_output.go index e69d32e27..de70047c9 100644 --- a/hugolib/page__per_output.go +++ b/hugolib/page__per_output.go @@ -36,7 +36,7 @@ import ( "github.com/gohugoio/hugo/markup/converter" - "github.com/alecthomas/chroma/lexers" + "github.com/alecthomas/chroma/v2/lexers" "github.com/gohugoio/hugo/lazy" bp "github.com/gohugoio/hugo/bufferpool" 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) } |