aboutsummaryrefslogtreecommitdiff
path: root/t/conf03.t
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2018-01-20 11:10:57 +0100
committerSergey Poznyakoff <gray@gnu.org.ua>2018-01-20 17:22:40 +0100
commite406653af5ae596d2d6f212f6ebaf66bcfe5dbf1 (patch)
treed02955cecd38c297b70feaad168cad91c748a4f7 /t/conf03.t
downloadconfig-parser-e406653af5ae596d2d6f212f6ebaf66bcfe5dbf1.tar.gz
config-parser-e406653af5ae596d2d6f212f6ebaf66bcfe5dbf1.tar.bz2
Initial commit
Diffstat (limited to 't/conf03.t')
-rw-r--r--t/conf03.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/conf03.t b/t/conf03.t
new file mode 100644
index 0000000..5b49347
--- /dev/null
+++ b/t/conf03.t
@@ -0,0 +1,16 @@
1# -*- perl -*-
2use lib qw(t lib);
3use strict;
4use Test;
5use ConfigSpec;
6
7plan(tests => 1);
8
9my $c = new ConfigSpec(expect => ['invalid value for size']);
10ok($c->errors() == 1);
11
12__DATA__
13[core]
14 size = 11
15[load]
16 file = /etc/passwd

Return to:

Send suggestions and report system problems to the System administrator.