File: 01-basic.t

package info (click to toggle)
libdist-zilla-util-test-kentnl-perl 1.005014-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 340 kB
  • sloc: perl: 595; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use strict;
use warnings;

use Test::More;
use Dist::Zilla::Util::Test::KENTNL qw( test_config );
use Test::Fatal;

is( defined &test_config, 1, '&test_config exported' );

is(
  exception {
    test_config(
      {
        dist_root => 'corpus/dist/DZT',
        ini       => ['GatherDir']
      }
    );
  },
  undef,
  'test_config lives'
);

done_testing;