Help language development. Donate to The Perl Foundation

P5getpwnam cpan:ELIZABETH last updated on 2019-12-21

t/01-basic.t
use v6.c;
use Test;
use P5getpwnam;

my @supported = <
  endpwent getlogin getpwuid getpwent getpwnam setpwent
>.map: '&' ~ *;

plan @supported * 2;

for @supported {
    ok defined(::($_)),          "is $_ imported?";
    nok P5getpwnam::{$_}:exists, "is $_ NOT externally accessible?";
}

# vim: ft=perl6 expandtab sw=4