diff --git a/t/PerlbrewTestHelpers.pm b/t/PerlbrewTestHelpers.pm index 51c89db7..b7cb0ccc 100644 --- a/t/PerlbrewTestHelpers.pm +++ b/t/PerlbrewTestHelpers.pm @@ -32,7 +32,6 @@ sub stderr_like (&$;$) { sub stdout_from (&) { my ($cb) = @_; return join "", map { $_->details } grep { $_->tag eq 'STDOUT' } ioevents_from($cb); - my $events = intercept { $cb->() }; } sub stdout_is (&$;$) {