diff --git a/test/char.jl b/test/char.jl index 9861fc9e13d01..f2fc7bef5d5c0 100644 --- a/test/char.jl +++ b/test/char.jl @@ -75,6 +75,8 @@ let #size(c::Char) = () for x in testarrays @test size(x) == () + @test_throws BoundsError size(x,0) + @test size(x,1) == 1 end #ndims(c::Char) = 0