diff --git a/test/runtests.jl b/test/runtests.jl index cb6121a..7534635 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -202,10 +202,10 @@ end @testset "type information" begin @test Adapt.ndims(Transpose{Float64,Array{Float64,1}}) == 2 - @test Adapt.ndims(Adapt.WrappedSubArray{Float64,3,Array{Float64,3}}) == 3 + @test Adapt.ndims(Adapt.WrappedSubArray{Float64,3,Array{Float64,4}}) == 3 @test Adapt.parent(Transpose{Float64,Array{Float64,1}}) == Array - @test Adapt.parent(Adapt.WrappedSubArray{Float64,3,Array{Float64,3}}) == Array + @test Adapt.parent(Adapt.WrappedSubArray{Float64,3,Array{Float64,4}}) == Array end