diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-01-20 11:10:57 +0100 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-01-20 17:22:40 +0100 |
commit | e406653af5ae596d2d6f212f6ebaf66bcfe5dbf1 (patch) | |
tree | d02955cecd38c297b70feaad168cad91c748a4f7 /t/conf01.t | |
download | config-parser-e406653af5ae596d2d6f212f6ebaf66bcfe5dbf1.tar.gz config-parser-e406653af5ae596d2d6f212f6ebaf66bcfe5dbf1.tar.bz2 |
Initial commit
Diffstat (limited to 't/conf01.t')
-rw-r--r-- | t/conf01.t | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/t/conf01.t b/t/conf01.t new file mode 100644 index 0000000..36b1f65 --- /dev/null +++ b/t/conf01.t @@ -0,0 +1,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 |