File: v3_02_init.t

package info (click to toggle)
libparse-plainconfig-perl 3.07-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: perl: 1,916; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl -T

use Test::More tests => 2;
use Paranoid;
use Paranoid::Debug;
use Parse::PlainConfig;

use strict;
use warnings;

psecureEnv();

use lib qw(t/lib);
use MyConf;

#PDEBUG = 20;
my $obj = new MyConf;
ok( defined $obj,         'new object - 1' );
ok( length $obj->default, 'conf default - 1' );