Skip to content

Commit 4555833

Browse files
authored
Merge branch 'main' into repo-assist/fix-issue-924-watch-root-override-c4e35a7b2fb520aa
2 parents 548b968 + a5cf827 commit 4555833

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/fsdocs-tool/BuildCommand.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2448,7 +2448,7 @@ type ConvertCommand() =
24482448

24492449
let fsiEvaluator =
24502450
if this.eval then
2451-
Some(FsiEvaluator(options = [| "--multiemit-" |]) :> IFsiEvaluator)
2451+
Some(new FsiEvaluator(options = [| "--multiemit-" |]) :> IFsiEvaluator)
24522452
else
24532453
None
24542454

tests/Common/MarkdownUnit.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let shouldMatchPar f pars =
1212
| MarkdownPatterns.ParagraphNested(_, pars) -> List.exists (List.exists loop) pars
1313
| _ -> false
1414

15-
Assert.IsTrue(Seq.exists loop pars, "Should match the specified paragraph")
15+
Assert.That(Seq.exists loop pars, Is.True, "Should match the specified paragraph")
1616

1717
let shouldMatchSpan f pars =
1818
let rec loopSpan sp =
@@ -29,4 +29,4 @@ let shouldMatchSpan f pars =
2929
| MarkdownPatterns.ParagraphLeaf _ -> false
3030
| MarkdownPatterns.ParagraphNested(_, pars) -> List.exists (List.exists loopPar) pars
3131

32-
Assert.IsTrue(Seq.exists loopPar pars, "Should match the specified span")
32+
Assert.That(Seq.exists loopPar pars, Is.True, "Should match the specified span")

tests/FSharp.Literate.Tests/DocContentTests.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ let ``Parses description and keywords from frontmatter `` () =
300300
|> List.find (fst >> ((=) ParamKeys.``fsdocs-meta-tags``))
301301
|> snd
302302

303-
StringAssert.Contains("<meta name=\"description\"", meta)
304-
StringAssert.Contains("Great description about StringAnalyzer!", meta)
305-
StringAssert.Contains("fsharp, analyzers, tooling", meta)
303+
Assert.That(meta, Does.Contain("<meta name=\"description\""))
304+
Assert.That(meta, Does.Contain("Great description about StringAnalyzer!"))
305+
Assert.That(meta, Does.Contain("fsharp, analyzers, tooling"))
306306

307307
(* Cannot get this test to evaluate the notebook
308308
[<Test>]

0 commit comments

Comments
 (0)