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

Return to:

Send suggestions and report system problems to the System administrator.