[ID 20011126.150] t/op/pack patch to fix Useless use of unpack in void context at...
[p5sagit/p5-mst-13.2.git] / t / op / universal.t
index f8c15d7..00e99fc 100755 (executable)
@@ -9,7 +9,7 @@ BEGIN {
     $| = 1;
 }
 
-print "1..90\n";
+print "1..91\n";
 
 $a = {};
 bless $a, "Bob";
@@ -49,7 +49,7 @@ package main;
   sub test {
       print "not " unless $_[0];
       print "ok ", $i++;
-      print "# at ", (caller)[1], ", line ", (caller)[2] unless $_[0];
+      print " # at ", (caller)[1], ", line ", (caller)[2] unless $_[0];
       print "\n";
   }
 }
@@ -68,6 +68,8 @@ test ! $a->isa("Male");
 
 test ! $a->isa('Programmer');
 
+test $a->isa("HASH");
+
 test $a->can("eat");
 test ! $a->can("sleep");
 test my $ref = $a->can("drink");        # returns a coderef