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

use CompUnit::Repository::Github;
use lib "CompUnit::Repository::Github#user<ugexe>#repo<zef>#branch<main>#/";


subtest 'require module with no external dependencies' => {
    {
        dies-ok { ::("Zef") };
    }
    {
        use-ok("Zef"), 'module use-d ok';
    }
}

subtest 'require modules with external dependency chain' => {
    {
        dies-ok { ::("Zef::Build") };
    }
    {
        use-ok("Zef::Build"), 'module use-d ok';
    }
}

done-testing;


