Skip to content

Commit

Permalink
Fix tests on Windows (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Sep 15, 2023
1 parent 2033590 commit 7b773f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_md_ast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,9 @@ end
println("====== END =======")
end
open(joinpath(splitext(@__FILE__)[1], "transform_link_output.txt")) do file
output = read(file, String)
@Test c.output == output
output = replace(c.output, "\r\n" => "\n")
expected_output = replace(read(file, String), "\r\n" => "\n")
@Test output == expected_output
end
end

Expand Down

0 comments on commit 7b773f0

Please sign in to comment.