File: perlcritic.t

package info (click to toggle)
libfile-path-tiny-perl 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 132 kB
  • sloc: perl: 143; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!perl

use Test::More;
plan skip_all => 'Critic tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};

eval 'use Test::Perl::Critic';
plan skip_all => 'Test::Perl::Critic required for testing PBP compliance' if $@;
Test::Perl::Critic::all_critic_ok();