Skip to content

Commit 1557fdc

Browse files
committed
test(core): define allequal under Julia 1.8
1 parent 6aa8ef1 commit 1557fdc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/runtests.jl

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ function test_linearalgrbra_functions(A::AbstractMatrix)
2929
end
3030
end
3131

32+
if VERSION < v"1.8"
33+
allequal(itr) = isempty(itr) ? true : all(isequal(first(itr)), itr)
34+
end
35+
3236
@testset "TypedMatrices.jl" begin
3337
include("types.jl")
3438
include("metadata.jl")

0 commit comments

Comments
 (0)