From d1d5a468a3887e0d3a952cf1ce56b806da926e5f Mon Sep 17 00:00:00 2001 From: Alexander Plavin Date: Tue, 16 Jul 2024 06:08:52 -0400 Subject: [PATCH] xxx: test should error --- CairoMakie/src/screen.jl | 2 +- CairoMakie/test/runtests.jl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CairoMakie/src/screen.jl b/CairoMakie/src/screen.jl index 53141f7eabc..1d26657836d 100644 --- a/CairoMakie/src/screen.jl +++ b/CairoMakie/src/screen.jl @@ -204,7 +204,7 @@ Base.size(screen::Screen) = round.(Int, (screen.surface.width, screen.surface.he # we render the scene directly, since we have # no screen dependent state like in e.g. opengl Base.insert!(screen::Screen, scene::Scene, plot) = nothing -Base.insert!(screen::Screen, scene::Scene, plot::Plot{plotlist}) = nothing +# Base.insert!(screen::Screen, scene::Scene, plot::Plot{plotlist}) = nothing function Base.delete!(screen::Screen, scene::Scene, plot::AbstractPlot) # Currently, we rerender every time, so nothing needs # to happen here. However, in the event that changes, diff --git a/CairoMakie/test/runtests.jl b/CairoMakie/test/runtests.jl index 3cb6145bcc5..344c9009b2e 100644 --- a/CairoMakie/test/runtests.jl +++ b/CairoMakie/test/runtests.jl @@ -135,7 +135,8 @@ end end @testset "plotlist no ambiguity" begin - plotlist([Makie.SpecApi.Scatter(1:10)]) + f = plotlist([Makie.SpecApi.Scatter(1:10)]) + save("test.png", f) plotlist!([Makie.SpecApi.Scatter(1:10)]) end