Commit | Line | Data |
---|---|---|
5d3ad6eb | 1 | use strict; |
2 | use warnings; | |
3 | ||
4 | use Test::More tests => 2; | |
5 | ||
6 | use Config::Any; | |
7 | ||
8 | { | |
9 | my $result = eval { | |
10 | Config::Any->load_files( | |
11 | { files => [ 't/conf/conf.pl' ], force_plugins => [ 'Config::Any::Perl' ] } ); | |
12 | }; | |
13 | ||
14 | ok( $result, 'config loaded' ); | |
15 | ok( !$@, 'no error thrown' ); | |
16 | } |