File: Foo.pm

package info (click to toggle)
libcode-tidyall-perl 0.83~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,036 kB
  • sloc: perl: 5,240; lisp: 47; makefile: 2; sh: 1
file content (22 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package Foo;

use strict;
use warnings;

use Moo;
extends 'Code::TidyAll::Plugin';

use Test::More;

sub transform_source {
    for my $dir (qw( t/inc1 t/inc2 )) {
        ok(
            ( grep {m{$dir}} @INC ),
            "\@INC still inclues $dir when plugin is run"
        );
    }

    return $_[1];
}

1;