summaryrefslogtreecommitdiff
path: root/cpan/Test-Simple/lib/Test2/Hub.pm
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Test-Simple/lib/Test2/Hub.pm')
-rw-r--r--cpan/Test-Simple/lib/Test2/Hub.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpan/Test-Simple/lib/Test2/Hub.pm b/cpan/Test-Simple/lib/Test2/Hub.pm
index 0b0d33bcfe..40b6c193cf 100644
--- a/cpan/Test-Simple/lib/Test2/Hub.pm
+++ b/cpan/Test-Simple/lib/Test2/Hub.pm
@@ -2,7 +2,7 @@ package Test2::Hub;
use strict;
use warnings;
-our $VERSION = '1.302026';
+our $VERSION = '1.302035';
use Carp qw/carp croak confess/;
@@ -83,6 +83,10 @@ sub inherit {
push @{$self->{+_LISTENERS}} => grep { $_->{inherit} } @$ls;
}
+ if (my $pfs = $from->{+_PRE_FILTERS}) {
+ push @{$self->{+_PRE_FILTERS}} => grep { $_->{inherit} } @$pfs;
+ }
+
if (my $fs = $from->{+_FILTERS}) {
push @{$self->{+_FILTERS}} => grep { $_->{inherit} } @$fs;
}