summaryrefslogtreecommitdiffabout
path: root/t/conf00.t
Side-by-side diff
Diffstat (limited to 't/conf00.t') (more/less context) (ignore whitespace changes)
-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
--- a/dev/null
+++ b/t/conf00.t
@@ -0,0 +1,22 @@
+# -*- perl -*-
+use lib qw(t lib);
+use strict;
+use Test;
+use ConfigSpec;
+
+plan(tests => 1);
+
+my $c = new ConfigSpec;
+ok($c->canonical,
+ q{core.base=4 core.number=[5,10] core.size="10 k" load.file="/etc/passwd" load.foobar="baz"});
+
+__DATA__
+[core]
+ number = 5
+ base = 4
+ size = 10 k
+ number = 10
+[load]
+ file = /etc/passwd
+ foobar = baz
+

Return to:

Send suggestions and report system problems to the System administrator.