]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/10-good.t
More tests with $_
[perl/modules/indirect.git] / t / 10-good.t
index 388f8a049d5bc915a27a8bbd67fbf5e3f8abcdf5..e503cecde5ae03fd7bcefd8c186a3fd0ddc44585 100644 (file)
@@ -9,7 +9,7 @@ package main;
 use strict;
 use warnings;
 
-use Test::More tests => 41 * 4;
+use Test::More tests => 45 * 4;
 
 my ($obj, $pkg, $cb, $x, @a);
 sub meh;
@@ -129,12 +129,20 @@ $obj = new
       $x
     }(qw/bar baz/);
 ####
+meh;
+####
+meh $_;
+####
 meh $x;
 ####
-meh $x, 1 , 2;
+meh $x, 1, 2;
 ####
 print;
 ####
+print $_;
+####
+print $x;
+####
 print STDOUT "bananananananana\n";
 ####
 print $x "oh hai\n";