File: critic.t

package info (click to toggle)
libnet-cisco-mse-rest-perl 0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 100 kB
  • sloc: perl: 253; makefile: 2
file content (16 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
use English qw(-no_match_vars);

plan(skip_all => 'Author test, set $ENV{AUTHOR_TESTING} to a true value to run')
    if !$ENV{AUTHOR_TESTING};

eval { require Test::Perl::Critic; };
plan(skip_all => 'Test::Perl::Critic required') if $EVAL_ERROR;

Test::Perl::Critic->import();
all_critic_ok();