6 use Test::More tests => 1;
10 my ( @before, @after );
13 unshift @INC, 'wibble';
14 @before = Test::Harness::_filtered_inc();
15 unshift @INC, sub {die};
16 @after = Test::Harness::_filtered_inc();
19 is_deeply \@after, \@before, 'subref removed from @INC';