File: rt90869.t

package info (click to toggle)
libmodule-scandeps-perl 1.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 628 kB
  • sloc: perl: 3,157; makefile: 8; ansic: 1
file content (17 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
use Module::ScanDeps qw(scan_deps);
use lib qw(t/data/static);

my @expected_modules = qw( TestA TestB TestC );
plan tests => scalar @expected_modules;

my $rv = scan_deps("t/data/rt90869.pl");
foreach (@expected_modules)
{
    ok(exists $rv->{"$_.pm"}, "expected module $_ found");
}