summaryrefslogtreecommitdiff
path: root/t/conf11.t
diff options
context:
space:
mode:
Diffstat (limited to 't/conf11.t')
-rw-r--r--t/conf11.t17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/conf11.t b/t/conf11.t
new file mode 100644
index 0000000..13516b8
--- /dev/null
+++ b/t/conf11.t
@@ -0,0 +1,17 @@
1# -*- perl -*-
2use lib qw(t lib);
3use strict;
4use Test;
5use TestConfig;
6
7plan(tests => 3);
8
9my $cfg = new TestConfig(
10 config => [
11 'core.retain-interval' => 10,
12 'core.tempdir' => '/tmp'
13 ]
14 );
15ok(join(',', $cfg->getnode('core')->keys), 'retain-interval,tempdir');
16ok($cfg->getnode('core')->keys, 2);
17ok(join(',', sort $cfg->names_of('core')), 'retain-interval,tempdir');

Return to:

Send suggestions and report system problems to the System administrator.