summaryrefslogtreecommitdiffabout
path: root/t/conf04.t
Side-by-side diff
Diffstat (limited to 't/conf04.t') (more/less context) (ignore whitespace changes)
-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
--- a/dev/null
+++ b/t/conf04.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 => ['not an absolute pathname',
+ 'mandatory variable "load.file" not set']);
+ok($c->errors() == 2);
+
+__DATA__
+[core]
+
+[load]
+ file = test

Return to:

Send suggestions and report system problems to the System administrator.