Debian Codegraph @

t/integration/includes/default.tx

raw
1 use Test2::V0;
2
3 require App::Yath;
4
5 use File::Spec;
6
7 my @parts = File::Spec->splitpath(File::Spec->rel2abs(__FILE__));
8 pop @parts;
9 my $path = File::Spec->catpath(@parts);
10
11 like(
12 \@INC,
13 [
14 App::Yath->app_path,
15 File::Spec->catdir($path, 'lib'),
16 File::Spec->catdir($path, 'blib', 'lib'),
17 File::Spec->catdir($path, 'blib', 'arch'),
18 ],
19 "Added lib, blib/lib, and blib/arch to the front of the line"
20 );
21
22 is($ENV{PERL5LIB}, $ENV{OLD_PERL5LIB}, "PERL5LIB has not been modified");
23
24 done_testing;