From 68b7c2eaf0250542b8d5a0cb3def364c36352af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Tue, 2 Jul 2024 11:56:16 +0200 Subject: [PATCH] Fix --- test/flat.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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