fixed parser test to skip tests when dependent modules are not installed
[p5sagit/Config-Any.git] / t / 52-json.t
CommitLineData
572501ab 1use Test::More tests => 2;\r
2\r
3use Config::Any::JSON;\r
4\r
5my $config = eval { Config::Any::JSON->load( 't/conf/conf.json' ) };\r
6\r
7SKIP: {\r
8 skip "Couldn't Load JSON plugin", 2 if $@;\r
9 ok( $config );\r
10 is( $config->{ name }, 'TestApp' );\r
11}\r