Skip to content

Commit

Permalink
helpers: Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Oct 4, 2017
1 parent d32fd8e commit a58741a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/pygments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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>`)

}

Expand Down

0 comments on commit a58741a

Please sign in to comment.