From 649b4ae2fcc3aa47dfe9b2122c535fb6470e2dd6 Mon Sep 17 00:00:00 2001 From: OlivierHnt <38465572+OlivierHnt@users.noreply.github.com> Date: Tue, 9 Apr 2024 11:05:23 +0200 Subject: [PATCH] Remove broken test for Julia 1.12 --- test/interval_tests/power.jl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/interval_tests/power.jl b/test/interval_tests/power.jl index f3d742b5d..e59e303f3 100644 --- a/test/interval_tests/power.jl +++ b/test/interval_tests/power.jl @@ -100,8 +100,12 @@ end n = 2 @test isguaranteed(x ^ 2) @test !isguaranteed(x ^ n) - @test_broken isguaranteed(x ^ 2.0) - @test_broken isguaranteed(x ^ 2305843009213693952) + @test !isguaranteed(x ^ 2.0) + if VERSION ≥ v"1.12-DEV" + @test isguaranteed(x ^ 2305843009213693952) + else + @test_broken isguaranteed(x ^ 2305843009213693952) + end @test isequal_interval(x^2, interval(0,1)) @test isequal_interval(x^3, x) end