Skip to content

Commit eb37c0e

Browse files
committed
Fix test: switch yield() to wait(taskref[])
1 parent abe03ab commit eb37c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/channels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ end
5858
@test c.sz_max == 0
5959
@test istaskstarted(taskref[])
6060
@test !istaskdone(taskref[])
61-
take!(c); yield()
61+
take!(c); wait(taskref[])
6262
@test istaskdone(taskref[])
6363
end
6464

0 commit comments

Comments
 (0)