### ----------------------------------------------------
### -- CompUnit::Repository::Tar
### -- Licenses: Artistic-2.0
### -- Authors: ugexe
### -- File: t/use.rakutest
### ----------------------------------------------------
use Test:ver<6.c+>;
plan 1;

use CompUnit::Repository::Tar;
use lib "CompUnit::Repository::Tar#{CompUnit::Repository::Tar.test-dist('Distribution--Common-v0.1.0.tar.gz')}";


subtest 'use modules with external dependency chain' => {
    {
        dies-ok { ::('Distribution::Common::Git') };
    }
    {
        use-ok('Distribution::Common::Git', 'module use-d ok');
        lives-ok { ::('Distribution::Common::Git') };
    }
}

done-testing;


