summaryrefslogtreecommitdiffabout
path: root/t/conf06.t
Side-by-side diff
Diffstat (limited to 't/conf06.t') (more/less context) (show whitespace changes)
-rw-r--r--t/conf06.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/conf06.t b/t/conf06.t
new file mode 100644
index 0000000..69756dc
--- a/dev/null
+++ b/t/conf06.t
@@ -0,0 +1,14 @@
+# -*- perl -*-
+use lib qw(t lib);
+use strict;
+use Test;
+use ConfigSpec2;
+
+plan(tests => 1);
+
+my $c = new ConfigSpec2(expect => ['mandatory section [load * param] not present']);
+ok($c->errors, 1);
+
+__DATA__
+[core]
+ base = test

Return to:

Send suggestions and report system problems to the System administrator.