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

plan(tests => 1);

my $c = new ConfigSpec(expect => ['keyword "output" is unknown']);
ok($c->errors() == 1);

__DATA__
[core]
	number = 5
	output = file;
[load]
	file = /etc/passwd

Return to:

Send suggestions and report system problems to the System administrator.