]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/10-good.t
Test method call inside method call
[perl/modules/indirect.git] / t / 10-good.t
index 14f96d2e2decd2f66b164b6f3b12b6e8385da615..6510bea46724c99c93b3b637ac1bc301e5bafbdb 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 32 * 2;
+use Test::More tests => 33 * 2;
 
 my ($obj, $pkg, $cb, $x);
 sub meh;
@@ -120,3 +120,5 @@ meh $x, 1 , 2;
 print STDOUT "bananananananana\n";
 ####
 print $x "oh hai\n";
+####
+$x->foo($pkg->$cb)