Skip to content

Commit d95df17

Browse files
committed
Remove broken test for Julia 1.12
1 parent a38d47c commit d95df17

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/interval_tests/power.jl

+6-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,12 @@ end
100100
n = 2
101101
@test isguaranteed(x ^ 2)
102102
@test !isguaranteed(x ^ n)
103-
@test_broken isguaranteed(x ^ 2.0)
104-
@test_broken isguaranteed(x ^ 2305843009213693952)
103+
@test !isguaranteed(x ^ 2.0)
104+
if VERSION v"1.12-DEV" && Int != Int32
105+
@test isguaranteed(x ^ 2305843009213693952)
106+
else
107+
@test_broken isguaranteed(x ^ 2305843009213693952)
108+
end
105109
@test isequal_interval(x^2, interval(0,1))
106110
@test isequal_interval(x^3, x)
107111
end

0 commit comments

Comments
 (0)