Fix typo resulting in failed renders (#24)

This commit is contained in:
Patrick Stevens
2025-07-25 12:35:14 +01:00
committed by GitHub
parent ed352c1b14
commit ad05a9c106
3 changed files with 20 additions and 4 deletions

View File

@@ -61,6 +61,7 @@ module TestDot =
let mutable started = false
let mutable waited = false
let mutable exitCodeObserved = false
let mutable disposed = false
let expected =
@@ -84,7 +85,7 @@ module TestDot =
member _.Create exe args =
exe |> shouldEqual "graph-easy"
args.StartsWith ("--as=boxarg --from=dot ", StringComparison.Ordinal)
args.StartsWith ("--as=boxart --from=dot ", StringComparison.Ordinal)
|> shouldEqual true
{ new IDisposable with
@@ -93,6 +94,10 @@ module TestDot =
member _.WaitForExit p = waited <- true
member _.ReadStandardOutput _ = expected
member _.ExitCode _ =
exitCodeObserved <- true
0
}
Dot.render' pr (toFs fs) "graph-easy" contents
@@ -101,4 +106,5 @@ module TestDot =
started |> shouldEqual true
waited |> shouldEqual true
exitCodeObserved |> shouldEqual true
disposed |> shouldEqual true