Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure we don't iterate when checking emissions
  • Loading branch information
lizmat committed Aug 25, 2015
1 parent 698541c commit 06d424d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Test/Tap.pm
Expand Up @@ -23,7 +23,7 @@ multi sub tap-ok (
my @res;
my $done;
isa-ok $s.tap(
{ emit() if &emit; @res.push($_) },
{ emit() if &emit; @res.push($_,) },
:done( { done() if &done; $done = True } ),
), Tap, "$desc got a tap";
after-tap() if &after-tap;
Expand Down

0 comments on commit 06d424d

Please sign in to comment.