Skip to content

Commit 2ca9ba1

Browse files
committed
license headers
1 parent 05abc97 commit 2ca9ba1

File tree

8 files changed

+38
-4
lines changed

8 files changed

+38
-4
lines changed

tests/authoring/Framework/ErrorCollectorAssertions.fs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
namespace authoring
26

37
open 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) @>

tests/authoring/Framework/HtmlAssertions.fs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
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

47
open System
58
open System.Diagnostics

tests/authoring/Framework/Setup.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
namespace authoring
26

37
open System.Collections.Generic

tests/authoring/Framework/TestValues.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
namespace authoring
26

37
open System

tests/authoring/Inline/Comments.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
module ``inline elements``.``comment block``
26

37
open Xunit

tests/authoring/Inline/InlineAnchors.fs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
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

37
open Xunit
48
open 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

tests/authoring/Inline/InlineImages.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
module ``inline elements``.``image``
26

37
open Xunit

tests/authoring/Inline/Substitutions.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
module ``inline elements``.``substitutions``
26

37
open Xunit

0 commit comments

Comments
 (0)