summaryrefslogtreecommitdiff
path: root/t/conf09.t
diff options
context:
space:
mode:
Diffstat (limited to 't/conf09.t')
-rw-r--r--t/conf09.t27
1 files changed, 27 insertions, 0 deletions
diff --git a/t/conf09.t b/t/conf09.t
new file mode 100644
index 0000000..cbe5536
--- /dev/null
+++ b/t/conf09.t
@@ -0,0 +1,27 @@
1# -*- perl -*-
2use lib qw(t lib);
3use strict;
4use Test;
5use TestConfig;
6
7plan(tests => 2);
8
9my %keywords = (
10 core => {
11 section => {
12 backend => { mandatory => 1, default => "file" },
13 acl => 1
14 }
15 },
16 file => {
17 section => {
18 name => 1
19 }
20 }
21);
22
23my $cfg = new TestConfig(parameters => \%keywords);
24ok($cfg);
25ok($cfg->canonical, q{core.backend="file"});
26
27

Return to:

Send suggestions and report system problems to the System administrator.