We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c7c01e commit ba8fddfCopy full SHA for ba8fddf
tests/authoring/Framework/MarkdownDocumentAssertions.fs
@@ -33,8 +33,7 @@ module MarkdownDocumentAssertions =
33
let matter = result.File.YamlFrontMatter
34
match matter with
35
| NonNull m ->
36
- if expectedAvailability <> null then
37
- m.AppliesTo.Diagnostics <- expectedAvailability.Diagnostics
+ m.AppliesTo.Diagnostics <- expectedAvailability.Diagnostics
38
let apply = m.AppliesTo
39
test <@ apply = expectedAvailability @>
40
| _ -> failwithf "%s has no yamlfront matter" result.File.RelativePath
0 commit comments