ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/io_common
(Generate patch)

Comparing AnyEvent/t/io_common (file contents):
Revision 1.5 by root, Mon Apr 2 04:03:02 2012 UTC vs.
Revision 1.6 by root, Wed Apr 4 02:18:30 2012 UTC

14 14
15our $t = 3; 15our $t = 3;
16 16
17sub t { 17sub t {
18 my $ok = shift; 18 my $ok = shift;
19 my $f = "ae_" . shift; 19 my $f = "io_" . shift;
20 $f->(@_, my $cv = AE::cv); 20 $f->(@_, my $cv = AE::cv);
21 my @res = $cv->recv; 21 my @res = $cv->recv;
22 22
23 print !@res != !$ok ? "not " : "", "ok ", $t++, " # $f (@_) = (@res)\n"; 23 print !@res != !$ok ? "not " : "", "ok ", $t++, " # $f (@_) = (@res)\n";
24 24

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines