Permalink
Browse files

helpers: Fix broken test

  • Loading branch information...
bep committed Oct 4, 2017
1 parent d32fd8e commit a58741a172421b2d66c34e81a56ece147e295a05
Showing with 1 addition and 1 deletion.
  1. +1 −1 helpers/pygments_test.go
View
@@ -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">&#34;Hello&#34;</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">&#34;Hello&#34;</span></code></pre></div>`)
}

0 comments on commit a58741a

Please sign in to comment.