File: unused-vars.t

package info (click to toggle)
libtest-synopsis-perl 0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 304 kB
  • ctags: 23
  • sloc: perl: 207; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (64)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!perl

use Test::More 0.96 tests => 1;
eval { require Test::Vars };

SKIP: {
    skip 1 => 'Test::Vars required for testing for unused vars'
        if $@;
    Test::Vars->import;

    subtest 'unused vars' => sub {
all_vars_ok();
    };
};