Skip to content

Commit dcbd4d7

Browse files
committed
Add test
1 parent f282917 commit dcbd4d7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/authoring/Applicability/AppliesToFrontMatter.fs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,11 @@ applies_to:
186186
Stack=AppliesCollection.op_Explicit "ga 9.1.0",
187187
Product=AppliesCollection.op_Explicit "coming 9.5, discontinued 9.7"
188188
))
189+
190+
type ``parses empty applies_to as null`` () =
191+
static let markdown = frontMatter """
192+
applies_to:
193+
"""
194+
[<Fact>]
195+
let ``does not render label`` () =
196+
markdown |> appliesTo null

0 commit comments

Comments
 (0)