summaryrefslogtreecommitdiffabout
path: root/t/conf03.t
blob: 5b49347b4b8d40bbe5099421db7ff12aae653e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- perl -*-
use lib qw(t lib);
use strict;
use Test;
use ConfigSpec;

plan(tests => 1);

my $c = new ConfigSpec(expect => ['invalid value for size']);
ok($c->errors() == 1);

__DATA__
[core]
        size = 11
[load]
	file = /etc/passwd

Return to:

Send suggestions and report system problems to the System administrator.