deps: Udpate to github.com/alecthomas/chroma/v2

Fixes #9932
Fixes #9931
This commit is contained in:
Bjørn Erik Pedersen
2022-05-26 12:17:10 +02:00
parent 09ac733381
commit 35fa192838
10 changed files with 29 additions and 45 deletions

View File

@@ -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)
}