Skip to content

Commit 3e24470

Browse files
committed
Remove tests for .peek
1 parent 635b34a commit 3e24470

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

S17-concurrency/channel.t

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
use v6;
22
use Test;
33

4-
plan 14;
4+
plan 12;
55

66
{
77
my $c = Channel.new;
88
$c.send(1);
99
$c.send(2);
10-
is $c.peek, 1, "Peeked first value";
1110
is $c.receive, 1, "Received first value";
1211
is $c.poll, 2, "Polled for second value";
13-
ok $c.peek === Nil, "peek returns Nil when no values available";
1412
ok $c.poll === Nil, "poll returns Nil when no values available";
1513
}
1614

0 commit comments

Comments
 (0)