Skip to content

Commit

Permalink
Fix standard-code tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
averms committed Apr 9, 2024
1 parent 1aa9202 commit 2c1bac6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions test/standard-code/case_one.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ some_python > 0

This should not be affected:

```notreallang
```notreallang {.kotlin}
fun main() {
Sus.Oop.Brintln("Hello World!");
}
Expand All @@ -21,8 +21,7 @@ Neither should this one
hi
```

This should be a language-html block. The ids and classes should not be
affected:
This should be a language-html block. The ids and classes should not be affected:

```{.html .anotherfakeone .cool #thebest json5=good}
<p>
Expand Down
5 changes: 3 additions & 2 deletions test/standard-code/out/case_one.html.exp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
<pre><code class="language-python">some_python = &quot; &quot;
some_python &gt; 0</code></pre>
<p>This should not be affected:</p>
<pre class="notreallang"><code>fun main() {
<pre class="notreallang kotlin"><code>fun main() {
Sus.Oop.Brintln(&quot;Hello World!&quot;);
}</code></pre>
<p>Neither should this one</p>
<pre><code>hi</code></pre>
<p>This should be a language-html block. The ids and classes should not be affected:</p>
<p>This should be a language-html block. The ids and classes should not
be affected:</p>
<pre id="thebest" class="anotherfakeone cool"><code class="language-html">&lt;p&gt;
&lt;kbd&gt;Ctrl&lt;/kbd&gt;+&lt;kbd&gt;F&lt;/kbd&gt;
&lt;/p&gt;</code></pre>

0 comments on commit 2c1bac6

Please sign in to comment.