Skip to content

Commit

Permalink
Merge pull request #191 from JuliaLang/amitm/fix_rr
Browse files Browse the repository at this point in the history
fix RemoteChannel tests
  • Loading branch information
hayd committed May 4, 2016
2 parents 4d8b348 + c861452 commit af3d798
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1003,11 +1003,12 @@ rm(dirwalk, recursive=true)
r = remotecall(sin, 1, pi/3)
@compat foo(r::Future) = 7
@test foo(r) == 7
if VERSION < v"0.4.0"
@compat rc = RemoteChannel(1,2,3)
else
@compat rc = RemoteChannel{Channel{Any}}(1,2,3)
end

@compat rc = RemoteChannel()
@compat rc = RemoteChannel(myid())

@compat rc = Future()
@compat rc = Future(myid())

# @functorize
function checkfunc(Fun, func)
Expand Down

0 comments on commit af3d798

Please sign in to comment.