this test needs to use the right implementation too
[gitmo/Package-Stash.git] / t / inc-hook.t
CommitLineData
96fcd34e 1#!/usr/bin/env perl
2use strict;
3use warnings;
4use Test::More;
5use Test::Fatal;
bc2b0715 6use lib 't/lib';
96fcd34e 7
8unshift @INC, sub { "some regex" =~ /match/; undef };
9
10is(exception { require Package::Stash }, undef, "works with an \@INC hook");
11
12done_testing;