perltidy
[p5sagit/Config-Any.git] / t / 50-general.t
1 use Test::More tests => 4;
2
3 use Config::Any::General;
4
5 my $config = eval { Config::Any::General->load( 't/conf/conf.conf' ) };
6
7 SKIP: {
8     skip "Couldn't Load Config::General plugin", 4 if $@;
9     ok( $config );
10     is( $config->{ name }, 'TestApp' );
11     ok( exists $config->{ Component } );
12
13     $config = eval {
14         Config::Any::General->load( 't/conf/conf.conf',
15             { -LowerCaseNames => 1 } );
16     };
17
18     ok( exists $config->{ component } );
19 }