File: vars.t

package info (click to toggle)
liblingua-en-namecase-perl 1.21-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 168 kB
  • sloc: perl: 455; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env perl

use strict;
use warnings;

use Test::Most;

if(not $ENV{AUTHOR_TESTING}) {
	plan(skip_all => 'Author tests not required for installation');
}

eval 'use Test::Vars';

plan(skip_all => 'Test::Vars required for detecting unused variables') if $@;

all_vars_ok(ignore_vars => { '$self' => 0 });