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

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::Utils::FileSystem") };
    lives-ok {
        require 'lib/Zef/Utils/FileSystem.rakumod' <&list-paths>;
        ok &list-paths($*CWD).elems;
    }
}

done-testing;


