aboutsummaryrefslogtreecommitdiff
path: root/t/conf00.t
blob: b497c86aadba1c3b48c5af64c8e9ac9b0e1d9efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.