Skip to content

Commit

Permalink
refactor: simplify verbatim test
Browse files Browse the repository at this point in the history
  • Loading branch information
mhatzl committed Apr 28, 2022
1 parent 1f2e748 commit 6fca1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/elements/verbatim_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ mod tests {
"<div id='{}' class='code-block language-{}' >{}</div>",
id,
lang,
&highlight::highlight_html_lines(&content, &lang, DEFAULT_THEME)
&highlight::highlight_html_lines(&content, lang, DEFAULT_THEME)
);

assert_eq!(expected_html, block.render_html().unwrap());
Expand Down

0 comments on commit 6fca1ea

Please sign in to comment.