diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-10-04 09:27:15 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-10-04 09:27:15 +0200 |
commit | a58741a172421b2d66c34e81a56ece147e295a05 (patch) | |
tree | e2e8f2834545a71985b5e1f6119f7611a12e6a2c /helpers/pygments_test.go | |
parent | d32fd8e328bc989e4ee83fdfac6f94ed6f6eda33 (diff) |
helpers: Fix broken test
Diffstat (limited to 'helpers/pygments_test.go')
-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 830b31944..e8a5199d9 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="nb">echo</span><span class=""> </span><span class="s2">"Hello"</span></code>`) + assert.Contains(result, `<div class="highlight"><pre class="chroma"><code class="language-bash" data-lang="bash"><span class="nb">echo</span> <span class="s2">"Hello"</span></code></pre></div>`) } |