diff options
Diffstat (limited to 't/conf04l.t')
-rw-r--r-- | t/conf04l.t | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/t/conf04l.t b/t/conf04l.t deleted file mode 100644 index 1ea5477..0000000 --- a/t/conf04l.t +++ /dev/null @@ -1,40 +0,0 @@ -# -*- perl -*- -use lib 't'; -use strict; -use Test; -use TestConfig; - -plan(tests => 1); - -my %keywords = ( - core => { - section => { - 'retain-interval' => { mandatory => 1 }, - 'tempdir' => 1, - 'verbose' => 1, - } - }, - backend => { - section => { - file => { - section => { - name => { mandatory => 1 }, - local => 1 - } - } - } - } -); - -my $cfg = new TestConfig(parameters => \%keywords, - locations => 1, - expect => [ 'mandatory variable "core.retain-interval" not set', - 'mandatory variable "backend.file.name" not set' ]); -ok($cfg->errors()==2); - -__DATA__ -# This is a sample configuration file -[core] - tempdir = /tmp -[backend file] - local = 1 |