1 use Test::More tests => 6;
\r
3 use Config::Any::INI;
\r
5 my $config = eval { Config::Any::INI->load( 't/conf/conf.ini' ) };
\r
6 my $simpleconfig = eval { Config::Any::INI->load( 't/conf/conf2.ini' ) };
\r
9 skip "Couldn't Load INI plugin", 6 if $@;
\r
11 is( $config->{ name }, 'TestApp' );
\r
12 is( $config->{Component}->{Controller::Foo}->{foo}, 'bar');
\r
14 ok( $simpleconfig );
\r
15 is( $simpleconfig->{ name }, 'TestApp' );
\r
16 is( $simpleconfig->{Controller::Foo}->{foo}, 'bar' );
\r