Skip to content

Commit

Permalink
Fix tests on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Apr 11, 2022
1 parent 54ade62 commit 2cae7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1968,7 +1968,7 @@ end
@test parent(b) isa AbstractRange

for ri in Any[2:3, Base.OneTo(2)]
for r in [IdentityUnitRange(ri), IdOffsetRange(ri), IdOffsetRange(ri, 1), OffsetArray(ri), OffsetArray(ri, 2)]
for r in Any[IdentityUnitRange(ri), IdOffsetRange(ri), IdOffsetRange(ri, 1), OffsetArray(ri), OffsetArray(ri, 2)]
for T in [Int8, Int16, Int32, Int64, Int128, BigInt, Float32, Float64, BigFloat]
r2 = map(T, r)
@test eltype(r2) == T
Expand Down

0 comments on commit 2cae7c8

Please sign in to comment.