aboutsummaryrefslogtreecommitdiff
path: root/t/conf06.t
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2018-01-20 23:38:16 +0100
committerSergey Poznyakoff <gray@gnu.org.ua>2018-01-20 23:38:16 +0100
commiteda00b0eaa069d5631efec255ef162b695d73d33 (patch)
tree4c6f3b9a52b5423efb1d41ce644ae3507685299b /t/conf06.t
parente406653af5ae596d2d6f212f6ebaf66bcfe5dbf1 (diff)
downloadconfig-parser-eda00b0eaa069d5631efec255ef162b695d73d33.tar.gz
config-parser-eda00b0eaa069d5631efec255ef162b695d73d33.tar.bz2
Reflect recent changes to Config::Tree
Diffstat (limited to 't/conf06.t')
-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
--- /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.