From 4e53f25893f0b09200e3ce66f992a7d672ec4352 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Fri, 24 Apr 2020 00:17:34 +0200 Subject: [PATCH] adjust tests --- test/test_pgfplotsx.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/test_pgfplotsx.jl b/test/test_pgfplotsx.jl index 6d285a3d..2e640ead 100644 --- a/test/test_pgfplotsx.jl +++ b/test/test_pgfplotsx.jl @@ -366,9 +366,7 @@ end # testset Plots._update_plot_object(pl) ax_opt = Plots.pgfx_axes(pl.o)[1].options @test ax_opt["title"] == "Test me" - if @test(haskey(ax_opt.dict, "title_style")) isa Test.Pass - @test ax_opt["title style"]["at"] == "{(0,1)}" - end + @test(haskey(ax_opt.dict, "title style")) isa Test.Pass pl = plot(1:5, plot_title = "Test me", plot_titlefont = (2, :left)) @test pl[:plot_title] == "Test me" @test pl[:plot_titlefontsize] == 2