File: 65-force_plugins.t

package info (click to toggle)
libconfig-any-perl 0.32-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 296 kB
  • ctags: 39
  • sloc: perl: 381; xml: 28; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;

use Test::More tests => 2;

use Config::Any;

{
    my $result = eval {
        Config::Any->load_files(
            { files => [ 't/conf/conf.pl' ], force_plugins => [ 'Config::Any::Perl' ] } );
    };

    ok( $result, 'config loaded' );
    ok( !$@, 'no error thrown' );
}