File: 00-load.t

package info (click to toggle)
libmoox-cmd-perl 0.017-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 320 kB
  • sloc: perl: 1,110; sh: 6; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl

use strict;
use warnings;
use Test::More;

my $moodel;

BEGIN
{
    $moodel = $ENV{WHICH_MOODEL} || "Moo";
    eval "use $moodel;";
    $@ and die $@;
    $moodel->import;
    use_ok('MooX::Cmd') || BAIL_OUT("Couldn't load MooX::Cmd");
}

diag("Testing MooX::Cmd $MooX::Cmd::VERSION, $moodel " . $moodel->VERSION . ", Perl $], $^X");

done_testing;