X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=t%2F52-json.t;h=dcf084f13a78ea4d59453dc908ed27bbdf0bec40;hp=f4e45c3e947b4a70b6eff37127f254f031979920;hb=f0e3c2214342d0d8a8839009b8b9c7e6bfbc7ab2;hpb=e17d1736c6f94fcf7b5a1f395eaac6ead5882f6c diff --git a/t/52-json.t b/t/52-json.t index f4e45c3..dcf084f 100644 --- a/t/52-json.t +++ b/t/52-json.t @@ -1,11 +1,11 @@ -use Test::More tests => 2; - -use Config::Any::JSON; - -my $config = eval { Config::Any::JSON->load( 't/conf/conf.json' ) }; - -SKIP: { - skip "Couldn't Load JSON plugin", 2 if $@; - ok( $config ); - is( $config->{ name }, 'TestApp' ); -} +use Test::More tests => 2; + +use Config::Any::JSON; + +my $config = eval { Config::Any::JSON->load( 't/conf/conf.json' ) }; + +SKIP: { + skip "Couldn't Load JSON plugin", 2 if $@; + ok( $config ); + is( $config->{ name }, 'TestApp' ); +}