aboutsummaryrefslogtreecommitdiff
path: root/t/conf00.t
diff options
context:
space:
mode:
Diffstat (limited to 't/conf00.t')
-rw-r--r--t/conf00.t22
1 files changed, 22 insertions, 0 deletions
diff --git a/t/conf00.t b/t/conf00.t
new file mode 100644
index 0000000..b497c86
--- /dev/null
+++ b/t/conf00.t
@@ -0,0 +1,22 @@
1# -*- perl -*-
2use lib qw(t lib);
3use strict;
4use Test;
5use ConfigSpec;
6
7plan(tests => 1);
8
9my $c = new ConfigSpec;
10ok($c->canonical,
11 q{core.base=4 core.number=[5,10] core.size="10 k" load.file="/etc/passwd" load.foobar="baz"});
12
13__DATA__
14[core]
15 number = 5
16 base = 4
17 size = 10 k
18 number = 10
19[load]
20 file = /etc/passwd
21 foobar = baz
22

Return to:

Send suggestions and report system problems to the System administrator.