File: 06_require.t

package info (click to toggle)
libtest-useallmodules-perl 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 152 kB
  • ctags: 11
  • sloc: perl: 72; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (2)
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::More tests => 1;

require Test::UseAllModules;

my $has_warnings = 0;
{
  local $SIG{__WARN__} = sub { $has_warnings++ };
  Test::UseAllModules::_get_module_list();
}

ok !$has_warnings, "has no warnings";