Skip to content

Commit bd2d7fa

Browse files
committed
Adjust tests
1 parent c3cb493 commit bd2d7fa

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/authoring/Inline/KbdRole.fs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,15 @@ type ``renders alternative kbd role`` () =
5454
[<Fact>]
5555
let ``validate HTML`` () =
5656
markdown |> convertsToHtml """
57-
<p><kbd class="kbd" aria-label="Control or Command"><span class="kbd-icon">⌃</span>Ctrl / <span class="kbd-icon">⌘</span>Cmd</kbd> + <kbd class="kbd">c</kbd></p>
57+
<p>
58+
<kbd class="kbd" aria-label="Control or Command">
59+
<span class="kbd-icon">⌃</span>Ctrl
60+
<span class="kbd-separator"></span>
61+
<span class="kbd-icon">⌘</span>Cmd
62+
</kbd>
63+
+
64+
<kbd class="kbd">c</kbd>
65+
</p>
5866
"""
5967

6068
type ``renders plus kbd role`` () =
@@ -74,5 +82,5 @@ type ``renders pipe kbd role`` () =
7482
[<Fact>]
7583
let ``validate HTML`` () =
7684
markdown |> convertsToHtml """
77-
<p><kbd class="kbd">|</kbd></p>
85+
<p><kbd class="kbd" aria-label="Pipe">|</kbd></p>
7886
"""

0 commit comments

Comments
 (0)