this is only going to work on 5.14
[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;
6
7unshift @INC, sub { "some regex" =~ /match/; undef };
8
9is(exception { require Package::Stash }, undef, "works with an \@INC hook");
10
11done_testing;