Skip to content

Commit

Permalink
Fix test/channels.jl to use newer Channel constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
NHDaly committed Aug 9, 2019
1 parent b38c2c8 commit d042f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/channels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ using Distributed

for T in [Any, Int]
taskref = Ref{Task}()
chnl = Channel(tf6, ctype=T, csize=N, taskref=taskref)
chnl = Channel{T}(tf6, N, taskref=taskref)
put!(chnl, 2)
yield()
@test_throws ErrorException wait(chnl)
Expand Down

0 comments on commit d042f3b

Please sign in to comment.