summaryrefslogtreecommitdiffhomepage
path: root/helpers
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-09-29 10:40:56 +0200
committerBjørn Erik Pedersen <[email protected]>2017-09-29 10:40:56 +0200
commitd45e358a0543d987091ef54b56eadd9cebda2e0f (patch)
tree65d225d8abd9594a2b9864e51f83b47a964a2aca /helpers
parent24fab9984152c7e4755947dc1c5652bbcbd10cc4 (diff)
downloadhugo-d45e358a0543d987091ef54b56eadd9cebda2e0f.tar.gz
hugo-d45e358a0543d987091ef54b56eadd9cebda2e0f.zip
helpers: Fix broken Chroma test
Diffstat (limited to 'helpers')
-rw-r--r--helpers/pygments_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/pygments_test.go b/helpers/pygments_test.go
index ee8076c71..d30f5fcc9 100644
--- a/helpers/pygments_test.go
+++ b/helpers/pygments_test.go
@@ -141,7 +141,7 @@ func TestChromaHTMLHighlight(t *testing.T) {
result, err := spec.Highlight(`echo "Hello"`, "bash", "")
assert.NoError(err)
- assert.Contains(result, `<code class="language-bash" data-lang="bash"><span class="s7d2">echo</span> <span class="sc1c">&#34;Hello&#34;</span></code>`)
+ assert.Contains(result, `<code class="language-bash" data-lang="bash"><span class="nb">echo</span><span class=""> </span><span class="s2">&#34;Hello&#34;</span></code>`)
}