Skip to content

Commit

Permalink
impr test
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocp committed Jan 9, 2025
1 parent 90daecb commit 3f454a6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/mdex_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,20 @@ defmodule MDExTest do
assert_output(
~S"""
# {Title} `{:code}`
- Elixir {:ex}
```elixir
{:ok, "code"}
```
""",
~S"""
<h1>{Title} <code>&lbrace;:code&rbrace;</code></h1>
<ul>
<li>Elixir {:ex}</li>
</ul>
<pre class="autumn-hl" style="background-color: #282C34; color: #ABB2BF;"><code class="language-elixir" translate="no"><span class="ahl-punctuation ahl-bracket" style="color: #ABB2BF;">&lbrace;</span><span class="ahl-string ahl-special ahl-symbol" style="color: #98C379;">:ok</span><span class="ahl-punctuation ahl-delimiter" style="color: #ABB2BF;">,</span> <span class="ahl-string" style="color: #98C379;">&quot;code&quot;</span><span class="ahl-punctuation ahl-bracket" style="color: #ABB2BF;">&rbrace;</span>
</code></pre>
"""
)
end
Expand Down

0 comments on commit 3f454a6

Please sign in to comment.