diff options
Diffstat (limited to 't/conf01.t')
-rw-r--r-- | t/conf01.t | 18 |
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 -*- | ||
2 | use lib qw(t lib); | ||
3 | use strict; | ||
4 | use Test; | ||
5 | use TestConfig; | ||
6 | |||
7 | plan(tests => 1); | ||
8 | |||
9 | my $cfg = new TestConfig( | ||
10 | config => [ | ||
11 | 'core.retain-interval' => '10', | ||
12 | 'core.tempdir' => '/tmp', | ||
13 | 'backend.foo.file' => 'a' | ||
14 | ] | ||
15 | ); | ||
16 | ok($cfg->canonical, 'backend.foo.file="a" core.retain-interval=10 core.tempdir="/tmp"'); | ||
17 | |||
18 | |||