File: 10-strict.t

package info (click to toggle)
libterm-extendedcolor-perl 0.504-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 224 kB
  • sloc: perl: 1,036; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 399 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
#!/usr/bin/perl
# test for syntax, strict and warnings

use strict;
use warnings;
use Test::More;

unless(exists($ENV{RELEASE_TESTING})) {
  plan skip_all => 'these tests are for release candidate testing';
}

eval 'use Test::Strict';    ## no critic
plan skip_all => 'Test::Strict required' if $@;

{
    no warnings 'once';
    $Test::Strict::TEST_WARNINGS = 0;
}

all_perl_files_ok(qw/ lib t /);