diff --git a/tests/authoring/Inline/CrossLinks.fs b/tests/authoring/Inline/CrossLinks.fs index dc56dfa7d..3377b82bb 100644 --- a/tests/authoring/Inline/CrossLinks.fs +++ b/tests/authoring/Inline/CrossLinks.fs @@ -31,17 +31,20 @@ type ``cross-link makes it into html`` () = type ``error when using wrong scheme`` () = - static let markdown = Setup.Markdown """ -[APM Server binary](docs-x:/solutions/observability/apps/apm-server-binary.md) -""" - [] let ``error on bad scheme`` () = + let markdown = Setup.Markdown """ +[APM Server binary](docs-x:/solutions/observability/apps/apm-server-binary.md) +""" markdown |> hasError "'docs-x' was not found in the cross link index" [] - let ``has no warning`` () = markdown |> hasNoWarnings + let ``has no warning`` () = + let markdown = Setup.Markdown """ +[APM Server binary](docs-x:/solutions/observability/apps/apm-server-binary.md) +""" + markdown |> hasNoWarnings type ``error when bad anchor is used`` () = @@ -143,4 +146,4 @@ type ``link to repository that does not resolve yet using double slashes`` () = let ``error when not found in links.json`` () = markdown |> hasError("'elasticsearch' was not found in the cross link index") [] - let ``has no warning`` () = markdown |> hasNoWarnings \ No newline at end of file + let ``has no warning`` () = markdown |> hasNoWarnings