X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=t%2F61-features.t;h=f8557ef66e25c5edadf71eaf38a4767c6f686524;hp=62bd59e1d792ca1793d92858fd3823d60ee8f71d;hb=1d172fc510f2ed15a00d475073f6df964b398484;hpb=aa7bd7c30e544ebbb418c2a0508523800e790836 diff --git a/t/61-features.t b/t/61-features.t index 62bd59e..f8557ef 100644 --- a/t/61-features.t +++ b/t/61-features.t @@ -17,7 +17,7 @@ eval { Config::Any::INI->load( $cfg_file ); }; SKIP: { skip "File loading backend for INI not found", 14 if $@; - my $struct; # used to make sure parsing works for arrays and hashes + my $struct; # used to make sure parsing works for arrays and hashes # force_plugins { @@ -59,16 +59,17 @@ SKIP: { } ); - ok( $result, 'load file with parser forced, flatten to hash' ); + ok( $result, 'load file with parser forced, flatten to hash' ); ok( ref $result, 'load_files hashref contains a ref' ); my $ref = blessed $result ? reftype $result : ref $result; is( substr( $ref, 0, 4 ), 'HASH', 'hashref' ); - is_deeply( $result, $struct, 'load_files return an hashref (flatten_to_hash)' ); + is_deeply( $result, $struct, + 'load_files return an hashref (flatten_to_hash)' ); } - - # use_ext + + # use_ext { ok( my $result = Config::Any->load_files( { files => [ $cfg_file ],