Skip to content

Commit

Permalink
Fully qualify Base.splat in tests for supporting <1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Seelengrab committed Aug 12, 2023
1 parent b8f65be commit ec0a90d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ const numTypes = union(getSubtypes(Integer), getSubtypes(AbstractFloat))
iu = PropCheck.IntegratedUnique(copy(col), shrink)
sort!(col)
iucol = sort!(map(root, Iterators.take(iu, length(col))))
firstiteration = all(splat(==), zip(col, iucol))
firstiteration = all(Base.splat(==), zip(col, iucol))
iucol = sort!(map(root, Iterators.take(iu, length(col))))
seconditeration = all(splat(==), zip(col, iucol))
seconditeration = all(Base.splat(==), zip(col, iucol))
iucol = sort!(map(root, Iterators.take(iu, length(col))))
thirditeration = all(splat(==), zip(col, iucol))
thirditeration = all(Base.splat(==), zip(col, iucol))
firstiteration && seconditeration && thirditeration
end
end
Expand All @@ -269,7 +269,7 @@ const numTypes = union(getSubtypes(Integer), getSubtypes(AbstractFloat))
genv = generate(PropCheck.ival(v, s))
shrunks = sort!(s(v))
gensubs = sort!(map(root, subtrees(genv)))
length(shrunks) == length(gensubs) && all(splat(==), zip(shrunks, gensubs))
length(shrunks) == length(gensubs) && all(Base.splat(==), zip(shrunks, gensubs))
end
end
@testset "FiniteIntegrated" begin
Expand Down

0 comments on commit ec0a90d

Please sign in to comment.