Refactor most of the cut & paste for setting prefix/prefixexp variables
[p5sagit/p5-mst-13.2.git] / 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;