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