Skip to content

Commit 2950275

Browse files
committed
fix tests
1 parent 22dd5fd commit 2950275

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

docs/syntax/applies.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ Are equivalent, note `all` just means we won't be rendering the version portion
5252
## This section has its own applies annotations [#sections]
5353

5454
:::{applies}
55-
:stack: unavailable
56-
:serverless: tech-preview
57-
:cloud: ga
55+
:serverless: unavailable
5856
:::
5957

6058
:::{note}

tests/Elastic.Markdown.Tests/Directives/AdmonitionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ public class DirectiveInList(ITestOutputHelper output) : DirectiveTest<Admonitio
203203

204204
[Fact]
205205
public void Render() => Html.Should().Contain("""
206-
<li> List Item 1
206+
<li>List Item 1
207207
<div class="admonition note">
208208
<p class="admonition-title">Note</p>
209-
Hello, World!
209+
Hello, World!
210210
</div>
211211
</li>
212212
""");

tests/Elastic.Markdown.Tests/Inline/InlineAnchorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void GeneratesAttributesInHtml() =>
132132
// language=html
133133
Html.Should().Be(
134134
"""
135-
<section id="my-anchor"><h2>Hello world <a class="headerlink" href="#my-anchor" title="Link to this heading">¶</a>
135+
<section id="my-anchor"><h2>Hello world<a class="headerlink" href="#my-anchor" title="Link to this heading">¶</a>
136136
</h2>
137137
</section>
138138
""".TrimEnd()

tests/Elastic.Markdown.Tests/Inline/InlineLinkTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ public void GeneratesHtml() =>
225225
Html.TrimEnd().Should().Be("""
226226
<p>Links:</p>
227227
<ul>
228-
<li> <a href="/testing/req.html">Special Requirements</a></li>
228+
<li><a href="/testing/req.html">Special Requirements</a></li>
229229
</ul>
230230
<ul>
231-
<li> <a href="/testing/req.html">Special Requirements</a></li>
231+
<li><a href="/testing/req.html">Special Requirements</a></li>
232232
</ul>
233233
""");
234234

0 commit comments

Comments
 (0)