]> git.vpit.fr Git - perl/modules/Sub-Op.git/blobdiff - t/10-base.t
Stop passing the package and the name from the magical callback to the check function
[perl/modules/Sub-Op.git] / t / 10-base.t
index 891a8cbc693669dca37055f1c77b5f1b2449f078..1f785e5b4897e9ef9d746edcbba9f6919893677f 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 
 use blib 't/Sub-Op-Test';
 
-use Test::More tests => 2 * 15 + 3 * 1 + 2 * 23;
+use Test::More tests => 2 * 15 + 3 * 2 + 2 * 28;
 
 our $called;
 
@@ -142,3 +142,7 @@ foo 1;
 bar 2;
 ----
 foo, bar # () # [ 1 ], [ 2 ] # foo, bar
+####
+foo 1, foo(2), 3, bar(4, foo(bar, 5), 6);
+----
+foo, bar # @_ # [ 2 ], [ ], [ 5 ], [ 4, 5, 6 ], [ 1, 2, 3, 4, 5, 6 ] # foo, bar, foo, bar, foo