From d95df171c838c82b5660417cacc6471757936d62 Mon Sep 17 00:00:00 2001 From: OlivierHnt <38465572+OlivierHnt@users.noreply.github.com> Date: Tue, 9 Apr 2024 11:25:40 +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..d5683a0ca 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" && Int != Int32 + @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