diff options
Diffstat (limited to 't/conf01l.t')
-rw-r--r-- | t/conf01l.t | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/t/conf01l.t b/t/conf01l.t new file mode 100644 index 0000000..0436df0 --- /dev/null +++ b/t/conf01l.t @@ -0,0 +1,20 @@ +# -*- perl -*- +use lib 't'; +use strict; +use Test; +use TestConfig; + +plan(tests => 1); + +my $cfg = new TestConfig(locations => 1); +ok($cfg->canonical, 'backend.foo.file="a" core.retain-interval=10 core.tempdir="/tmp"'); + +__DATA__ +# This is a sample configuration file +[core] + retain-interval = 10 + tempdir = /tmp +[backend foo] + file = a + + |