7 if ( !Config::Any::XML->is_supported ) {
8 plan skip_all => 'XML format not supported';
15 my $config = Config::Any::XML->load( 't/conf/conf.xml' );
17 is( $config->{ name }, 'TestApp' );
22 my $file = 't/invalid/conf.xml';
23 my $config = eval { Config::Any::XML->load( $file ) };
25 ok( !$config, 'config load failed' );
26 ok( $@, "error thrown ($@)" );