Skip to content

Commit

Permalink
Merge pull request #11168 from mschauer/unitrange
Browse files Browse the repository at this point in the history
Range1 not defined anymore
  • Loading branch information
jakebolewski committed May 6, 2015
2 parents 0459be9 + 2bacb67 commit de6e41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/arrayops.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ if !Base._oldstyle_array_vcat_
@test_throws MethodError UInt8[1:3]
@test_throws MethodError UInt8[1:3,]
@test_throws MethodError UInt8[1:3,4:6]
a = Array(Range1{Int},1); a[1] = 1:3
a = Array(UnitRange{Int},1); a[1] = 1:3
@test _array_equiv([1:3,], a)
a = Array(Range1{Int},2); a[1] = 1:3; a[2] = 4:6
a = Array(UnitRange{Int},2); a[1] = 1:3; a[2] = 4:6
@test _array_equiv([1:3,4:6], a)
end

Expand Down

0 comments on commit de6e41f

Please sign in to comment.