File: setup-ignored.t

package info (click to toggle)
libapp-cmd-perl 0.340-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 556 kB
  • sloc: perl: 1,927; makefile: 8; sh: 3
file content (21 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use strict;
use warnings;

use Test::More 0.88;
use Test::Fatal;

use lib 't/lib';

is(
  exception {
    require Test::IgnoreCommand;
  },
  undef,
  'Ignored Commands shouldn\'t be fatal'
);

my @plugins = Test::IgnoreCommand->_plugins();

is_deeply( \@plugins, [] , 'no commands were loaded' );

done_testing;