this is only going to work on 5.14
[gitmo/Package-Stash.git] / t / inc-hook.t
1 #!/usr/bin/env perl
2 use strict;
3 use warnings;
4 use Test::More;
5 use Test::Fatal;
6
7 unshift @INC, sub { "some regex" =~ /match/; undef };
8
9 is(exception { require Package::Stash }, undef, "works with an \@INC hook");
10
11 done_testing;