This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Planning still not right.
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 31 Dec 2001 14:29:17 +0000 (14:29 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 31 Dec 2001 14:29:17 +0000 (14:29 +0000)
p4raw-id: //depot/perl@13980

lib/User/grent.t

index 8803429..f7eb2c2 100644 (file)
@@ -22,9 +22,11 @@ BEGIN {
     unless (@grent) { plan skip_all => "no gid 0"; }
 }
 
-plan tests => 5;
+BEGIN {
+    plan tests => 5;
+    use_ok('User::grent');
+}
 
-BEGIN { use_ok('User::grent'); }
 can_ok(__PACKAGE__, 'getgrgid');
 
 my $grent = getgrgid 0;