diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-09-29 10:40:56 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-09-29 10:40:56 +0200 |
commit | d45e358a0543d987091ef54b56eadd9cebda2e0f (patch) | |
tree | 65d225d8abd9594a2b9864e51f83b47a964a2aca /helpers | |
parent | 24fab9984152c7e4755947dc1c5652bbcbd10cc4 (diff) | |
download | hugo-d45e358a0543d987091ef54b56eadd9cebda2e0f.tar.gz hugo-d45e358a0543d987091ef54b56eadd9cebda2e0f.zip |
helpers: Fix broken Chroma test
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/pygments_test.go | 2 |
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">"Hello"</span></code>`) + assert.Contains(result, `<code class="language-bash" data-lang="bash"><span class="nb">echo</span><span class=""> </span><span class="s2">"Hello"</span></code>`) } |