In v0.7
, thanks to #16401,
julia> [1, 2, 3] == 1:3
true
but in v0.6.2
it is false
. I am currently writing unit tests that make a lot of these comparisons, and I want it to work in both versions. Should I use all(a .== b)
or something similar, or is there a smooth transition using Compat.jl
?