diff --git a/test/flat.jl b/test/flat.jl index 5065200..aa84ae8 100644 --- a/test/flat.jl +++ b/test/flat.jl @@ -2,6 +2,7 @@ using Test, MultivariateMoments @testset "ZeroDimensionalVariety" begin V = ZeroDimensionalVariety([[1], [2]]) - @show sprint(show, V) - @show sprint(show, MIME"text/plain"(), V) + expected = "ZeroDimensionalVariety with elements:\n[[1], [2]]" + @test sprint(show, V) == expected + @test sprint(show, MIME"text/plain"(), V) == expected end