File: 04_under_files.t

package info (click to toggle)
libtest-useallmodules-perl 0.15-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 152 kB
  • ctags: 11
  • sloc: perl: 72; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;
use FindBin;
use lib glob("$FindBin::Bin/extlib/*/lib");
use Test::UseAllModules under => qw(lib t/lib/);
use Test::More tests => 2;

BEGIN {
  chdir 't/MANIFESTed';
  my @modules = Test::UseAllModules::_get_module_list();
  ok @modules == 3;
  ok( !grep {$_ =~ /^under/} @modules );
  chdir '../..';
}