### ----------------------------------------------------
### -- User::grent
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/01-basic.t
### ----------------------------------------------------
use v6.*;
use Test;

plan 16;

{
    use User::grent;
    for <&getgrnam &getgrgid &getgrent &setgrent &endgrent &getgr> -> $name {
       ok OUTER::MY::<<$name>>:exists, "is $name imported by default?";
    }
}

{
    use User::grent :FIELDS;
    for <&getgrnam &getgrgid &getgrent &setgrent &endgrent &getgr
         $gr_name $gr_passwd $gr_gid @gr_members> -> $name {
       ok OUTER::MY::<<$name>>:exists, "is $name imported by default?";
    }
}

# vim: expandtab shiftwidth=4


