File: 903-perlcritic.t

package info (click to toggle)
libparse-dia-sql-perl 0.31-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 924 kB
  • sloc: perl: 3,865; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $Id: 903-perlcritic.t,v 1.1 2009/02/23 07:36:17 aff Exp $

use strict;
use warnings;

use Test::More;

BEGIN {
  plan( skip_all => 'AUTHOR_TEST must be set for perlcritic test; skipping' )
    if ( !$ENV { 'AUTHOR_TEST' } );

  eval "use Test::Perl::Critic ( -severity => 4 )";
  plan(skip_all => 'Test::Perl::Critic required to criticise code') if ($@);
}

all_critic_ok();

__END__