Skip to content

Commit

Permalink
Add test for char size
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt committed Jun 14, 2016
1 parent 2119ea6 commit 9b95612
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/char.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b95612

Please sign in to comment.