Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 authored Feb 16, 2024
1 parent 349d949 commit d6510ae
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 @@ -35,7 +35,7 @@ end
@test @inferred(a[[1]']) isa CircularArray{Int64,2}
@test @inferred(axes(a)) isa Tuple{Vararg{AbstractUnitRange}}
@test @inferred(similar(a)) isa typeof(a)
@test @inferred(similar(a, Float64, size(a))) isa CircularArray{Float64}
@test @inferred(similar(a, Float64, Int8.(size(a)))) isa CircularArray{Float64}
@test @inferred(similar(typeof(a), axes(a))) isa typeof(a)
@test @inferred(a[a]) isa typeof(a)
end
Expand Down

0 comments on commit d6510ae

Please sign in to comment.