Skip to content

Commit

Permalink
Fix RemoteChannel test on 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Apr 20, 2016
1 parent 7591531 commit 51dbd88
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -999,4 +999,8 @@ rm(dirwalk, recursive=true)
r = remotecall(sin, 1, pi/3)
@compat foo(r::Future) = 7
@test foo(r) == 7
@compat rc = RemoteChannel{Channel{Any}}(1,2,3)
if VERSION < v"0.4.0"
@compat rc = RemoteChannel(1,2,3)
else
@compat rc = RemoteChannel{Channel{Any}}(1,2,3)
end

0 comments on commit 51dbd88

Please sign in to comment.