Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
.for now is a Supply method
  • Loading branch information
lizmat committed Nov 23, 2013
1 parent 392358f commit bcdb5a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions S17-concurrency/channel.t
Expand Up @@ -33,13 +33,14 @@ plan 14;
is $c.closed.cause.message, "oh noes", "failure reason conveyed";
}

#?rakudo skip 'disappears'
{
my $p = Publish.for(1..5);
my $p = Supply.for(1..5);
is ~$p.Channel.list, "1 2 3 4 5", "Publish.for and .Channel work";
}

#?rakudo skip "hangs"
#?rakudo skip 'disappears'
{
my $p = Publish.for(1..5);
my $p = Supply.for(1..5);
is ~@($p.Channel), "1 2 3 4 5", "Publish.for and @(.Channel) work";
}

0 comments on commit bcdb5a5

Please sign in to comment.