diff --git a/test/plotrecipes.jl b/test/plotrecipes.jl index b0164fcf..f1b5c782 100644 --- a/test/plotrecipes.jl +++ b/test/plotrecipes.jl @@ -405,6 +405,7 @@ end @testset "3d faceting" begin @test_nowarn data(A3) * visual(CairoMakie.Heatmap) * mapping(X, :RandomData, Dim{:p}, layout = Y => nonnumeric) |> draw fg = data(A3) * visual(CairoMakie.Heatmap) * mapping(X, :RandomData, Dim{:p}, layout = Y => nonnumeric) |> draw - @test sum(x -> x isa AoG.Makie.Axis, AlgebraOfGraphics.Makie.contents(fg.figure.layout)) == size(A3, Y) + # Test that the number of axes is equal to the size of A3 in the y dimension. + @test sum(x -> x isa AlgebraOfGraphics.Makie.Axis, AlgebraOfGraphics.Makie.contents(fg.figure.layout)) == size(A3, Y) end end