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