diff options
Diffstat (limited to 't/conf03.t')
-rw-r--r-- | t/conf03.t | 16 |
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 @@ +# -*- 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 |