File: 5-pluggable_fake.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 (21 lines) | stat: -rw-r--r-- 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl

use Module::ScanDeps;
use strict;
use warnings;

use Test::More tests => 1;

use Test::Requires qw( Module::Pluggable );

use lib qw(t t/data/pluggable);
use Utils;

my $rv = scan_deps(
  files   => ['t/data/pluggable/Foo.pm'],
  recurse => 1,
);

my @deps = qw(Module/Pluggable.pm Foo/Plugin/Bar.pm Foo/Plugin/Baz.pm);
check_rv($rv, ['t/data/pluggable/Foo.pm'], \@deps);