aboutsummaryrefslogtreecommitdiff
path: root/t/conf04.t
diff options
context:
space:
mode:
Diffstat (limited to 't/conf04.t')
-rw-r--r--t/conf04.t17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/conf04.t b/t/conf04.t
new file mode 100644
index 0000000..ab4c12a
--- /dev/null
+++ b/t/conf04.t
@@ -0,0 +1,17 @@
1# -*- perl -*-
2use lib qw(t lib);
3use strict;
4use Test;
5use ConfigSpec;
6
7plan(tests => 1);
8
9my $c = new ConfigSpec(expect => ['not an absolute pathname',
10 'mandatory variable "load.file" not set']);
11ok($c->errors() == 2);
12
13__DATA__
14[core]
15
16[load]
17 file = test

Return to:

Send suggestions and report system problems to the System administrator.