Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrehren authored Mar 8, 2017
1 parent e6dc1fb commit b225ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/subtype.jl
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ f18892{T}(x::T) = 2
# #18985
f18985{T<:Union{Int32,Int64}}(x::T, y...) = (length(y), f18985(y[1], y[2:end]...)...)
f18985{T<:Union{Int32,Int64}}(x::T) = (100)
@test f18985(1,rand(1)...) == (1,100)
@test f18985(1,1) == (1,100)

# #19041
mutable struct A19041{K} end
Expand Down

0 comments on commit b225ce1

Please sign in to comment.