File: vars.t

package info (click to toggle)
libtest-synopsis-expectation-perl 0.12-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 216 kB
  • sloc: perl: 303; makefile: 2; sh: 1
file content (18 lines) | stat: -rw-r--r-- 278 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!perl

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

eval {
    require Test::Vars;
};
plan skip_all => "Test::Vars required for testing variables" if $@;

Test::Vars::all_vars_ok(
    ignore_vars => {
        '$guard' => 1,
        '$class' => 1,
        '$self'  => 1,
    }
);