ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/t/02_channel.t
(Generate patch)

Comparing Coro/t/02_channel.t (file contents):
Revision 1.4 by root, Sat Jul 21 18:21:45 2001 UTC vs.
Revision 1.5 by root, Mon Jul 23 02:14:20 2001 UTC

12 $q->put($_); 12 $q->put($_);
13 } 13 }
14} 14}
15 15
16print "ok 1\n"; 16print "ok 1\n";
17yield; 17cede;
18 18
19for (11..19) { 19for (11..19) {
20 my $x = $q->get; 20 my $x = $q->get;
21 print $x == $_-10 ? "ok " : "not ok ", ($_-10)*2+1, "\n"; 21 print $x == $_-10 ? "ok " : "not ok ", ($_-10)*2+1, "\n";
22} 22}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines