File tree Expand file tree Collapse file tree 8 files changed +38
-4
lines changed Expand file tree Collapse file tree 8 files changed +38
-4
lines changed Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15namespace authoring
26
37open System.Diagnostics
@@ -20,4 +24,5 @@ module DiagnosticsCollectorAssertions =
2024 .Where( fun d -> d.Severity = Severity.Error)
2125 .ToArray()
2226 |> List.ofArray
23- test <@ errorDiagnostics.FirstOrDefault() .Message.Contains( expected) @>
27+ let message = errorDiagnostics.FirstOrDefault() .Message
28+ test <@ message.Contains( expected) @>
Original file line number Diff line number Diff line change 1- namespace authoring
1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
24
5+ namespace authoring
36
47open System
58open System.Diagnostics
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15namespace authoring
26
37open System.Collections .Generic
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15namespace authoring
26
37open System
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15module ` `inline elements`` . `` comment block``
26
37open Xunit
Original file line number Diff line number Diff line change 1- module ` `inline elements`` . `` anchors DEPRECATED``
1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
5+ module ` `inline elements`` . `` anchors DEPRECATED``
26
37open Xunit
48open authoring
@@ -12,7 +16,9 @@ this is *regular* text and this $$$is-an-inline-anchor$$$ and this continues to
1216 [<Fact>]
1317 let ``validate HTML`` () =
1418 markdown |> convertsToHtml """
15- <p>this is <em>regular</em> text and this <a id="is-an-inline-anchor"></a> and this continues to be regular text</p>
19+ <p>this is <em>regular</em> text and this
20+ <a id="is-an-inline-anchor"></a> and this continues to be regular text
21+ </p>
1622 """
1723 [<Fact>]
1824 let ``has no errors`` () = markdown |> hasNoErrors
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15module ` `inline elements`` . `` image``
26
37open Xunit
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15module ` `inline elements`` . `` substitutions``
26
37open Xunit
You can’t perform that action at this time.
0 commit comments