File: lib-core-only.t

package info (click to toggle)
liblocal-lib-perl 2.000014-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 308 kB
  • ctags: 72
  • sloc: perl: 727; makefile: 22
file content (11 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
use strict;
use warnings FATAL => 'all';
use Test::More tests => 1;
use lib::core::only ();
use Config;

is_deeply(
  [ do { local @INC = @INC; lib::core::only->import; @INC } ],
  [ $Config{privlibexp}, $Config{archlibexp} ],
  'lib::core::only mangles @INC correctly'
);