File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
tests/authoring/Applicability Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,27 @@ applies_to:
241241 ApmAgentDotnet= AppliesCollection.op_ Explicit " ga 9.0"
242242 ),
243243 Product= AppliesCollection.op_ Explicit " ga"
244+ ))
245+
246+ type ``deployment types are rendered in correct order`` () =
247+ static let markdown = frontMatter """
248+ applies_to:
249+ deployment:
250+ self: ga 9.0
251+ ece: ga 9.1
252+ ess: ga 9.2
253+ eck: ga 9.3
254+ """
255+ [<Fact>]
256+ let ``deployment types are rendered in ESS ECK ECE Self order`` () =
257+ markdown |> appliesTo ( ApplicableTo(
258+ Deployment= DeploymentApplicability(
259+ Ess= AppliesCollection.op_ Explicit " ga 9.2" ,
260+ Eck= AppliesCollection.op_ Explicit " ga 9.3" ,
261+ Ece= AppliesCollection.op_ Explicit " ga 9.1" ,
262+ Self= AppliesCollection.op_ Explicit " ga 9.0"
263+ )
264+ ))
244265
245266type ``sorts applies_to versions in descending order`` () =
246267 static let markdown = frontMatter """
You can’t perform that action at this time.
0 commit comments