From 5c1ae3e473833a9995cac6fe1da74e5f906484ff Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 8 Jan 2025 10:34:39 +0100 Subject: [PATCH] use the shorter&less noisy deprecation test Co-authored-by: Frames White --- test/misc.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/misc.jl b/test/misc.jl index 1745b88..d3f4085 100644 --- a/test/misc.jl +++ b/test/misc.jl @@ -18,8 +18,7 @@ import SparseArrays as SP @testset "Bounds" begin b = C.EqualTo(0) - @test_deprecated length(b) - @test length(b) == 1 + @test (@test_deprecated length(b)) == 1 end @testset "Values" begin