From 2638a8231f997f302f6016b290c142f99890812e Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 3 Aug 2020 23:51:28 +0200 Subject: [PATCH] Fix matrix printing test on Julia 1.6. --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 73cea63..93ec031 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -678,7 +678,7 @@ end end Literate.markdown(inputfile, outdir; execute=true) markdown = read(joinpath(outdir, "inputfile.md"), String) @test occursin("```\n2\n```", markdown) # text/plain - @test occursin("```\n2×2 Array{$(Int),2}:\n 1 2\n 3 4\n```", markdown) # text/plain + @test occursin("```\n2×2 $(Matrix{Int}):\n 1 2\n 3 4\n```", markdown) # text/plain @test occursin(r"!\[\]\(\d+\.png\)", markdown) # image/png @test occursin(r"!\[\]\(\d+\.jpeg\)", markdown) # image/jpeg @test occursin("```\nhello, world\n```", markdown) # stdout/stderr