From 22805d218fe61eabadbdde80bc6a1d960d22a891 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Fri, 16 Feb 2024 08:49:10 -0500 Subject: [PATCH] Fix tests --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 0f99160..97e343d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -72,8 +72,8 @@ end fig = Figure() - # @test_warn r"The PDF has more than 1 page! Choosing the first page." LTeX(fig[1, 1], CachedTeX(TeXDocument(read(Downloads.download("https://texample.net/media/tikz/examples/TEX/mandala.tex"), String)))) - @test_nowarn LTeX(fig[1, 1], CachedTeX(TeXDocument(read(Downloads.download("https://texample.net/media/tikz/examples/TEX/mandala.tex"), String)))) + @test_warn r"There were 7 pages in the document! Selecting first page." LTeX(fig[1, 1], CachedTeX(TeXDocument(read(Downloads.download("https://texample.net/media/tikz/examples/TEX/mandala.tex"), String)))) + # @test_nowarn LTeX(fig[1, 1], CachedTeX(TeXDocument(read(Downloads.download("https://texample.net/media/tikz/examples/TEX/mandala.tex"), String)))) resize_to_layout!(fig)