projects
/
gitmo/Package-Stash.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
history
|
HEAD
test for ribasushi's @INC hook bug
[gitmo/Package-Stash.git]
/
t
/
inc-hook.t
Commit
Line
Data
96fcd34e
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;