Testsuite: Add more tests to Exim::Runtest tests
[exim.git] / test / lib / Exim / Runtest.pm
index e60fce1e6326cf889530adb377af1940d0f3cc26..845388b8b268cb172e17b0582ebd7fa3d97dad03 100644 (file)
@@ -23,7 +23,7 @@ for the F<runtest> script. No functions are exported yet.
 =cut
 
 sub mailgroup {
-    my $group = shift;
+    my $group = shift // croak "Need a default group name.";
 
     croak "Need a group *name*, not a numeric group id."
         if $group =~ /^\d+$/;