From b298c06e0551e3eba10b39ae5668b7a6a36a08a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 20 Nov 2020 09:30:05 +0100 Subject: deps: Update to Chroma v0.8.2 Closes #7970 --- markup/highlight/highlight_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'markup') diff --git a/markup/highlight/highlight_test.go b/markup/highlight/highlight_test.go index f5992a512..228d5e8c9 100644 --- a/markup/highlight/highlight_test.go +++ b/markup/highlight/highlight_test.go @@ -87,9 +87,9 @@ User-Agent: foo h := New(cfg) result, _ := h.Highlight(lines, "bash", "") - c.Assert(result, qt.Contains, "2\n") + // From Chroma v0.8.2 this is linkable: https://github.com/alecthomas/chroma/commit/ab61726cdb54d5a98b6efe7ed76af6aa0698ab4a + c.Assert(result, qt.Contains, "2\n") result, _ = h.Highlight(lines, "bash", "lineanchors=test") - c.Assert(result, qt.Contains, "2\n") result, _ = h.Highlight(lines, "bash", "anchorlinenos=false,hl_lines=2") c.Assert(result, qt.Not(qt.Contains), "id=\"2\"") }) -- cgit v1.2.3