9 if ( !Config::Any::YAML->is_supported && !$ENV{RELEASE_TESTING} ) {
10 plan skip_all => 'YAML format not supported';
17 my $config = Config::Any::YAML->load( 't/conf/conf.yml' );
19 is( $config->{ name }, 'TestApp' );
24 my $file = 't/invalid/conf.yml';
25 my $config = eval { Config::Any::YAML->load( $file ) };
27 is $config, undef, 'config load failed';
28 isnt $@, '', 'error thrown';
31 # parse error generated on invalid config
33 my $file = 't/invalid/conf.yml';
34 my $config = eval { Config::Any->load_files( { files => [$file], use_ext => 1} ) };
36 is $config, undef, 'config load failed';
37 isnt $@, '', 'error thrown';