From 9db018500af91147c03ffd454c40ec7811181f56 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Fri, 31 Jul 2020 20:25:25 +0200 Subject: [PATCH] Update test_pgfplotsx.jl --- test/test_pgfplotsx.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_pgfplotsx.jl b/test/test_pgfplotsx.jl index adef28c0..5dc76282 100644 --- a/test/test_pgfplotsx.jl +++ b/test/test_pgfplotsx.jl @@ -348,5 +348,5 @@ end # testset @test pl[1][:extra_kwargs] == Dict(:add => raw"\node at (0,0.5) {\huge hi};") Plots._update_plot_object(pl) axes = Plots.pgfx_axes(pl.o) - @test axes[1].contents[end] == raw"\node at (0,0.5) {\huge hi};" + @test filter(x->x isa String, axes[1].contents)[1] == raw"\node at (0,0.5) {\huge hi};" end # testset