mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
helpers: Fix broken Chroma test
This commit is contained in:
parent
24fab99841
commit
d45e358a05
1 changed files with 1 additions and 1 deletions
|
@ -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>`)
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue