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