like and unlike weren't reporting failure where correctly in test.pl
Nicholas Clark [Fri, 23 Dec 2005 11:35:21 +0000 (11:35 +0000)]
p4raw-id: //depot/perl@26469

t/test.pl

index 42a3c88..95aa87f 100644 (file)
--- a/t/test.pl
+++ b/t/test.pl
@@ -258,6 +258,7 @@ sub like_yn ($$$@) {
        unshift(@mess, "#      got '$got'\n",
                "# expected /$expected/\n");
     }
+    local $Level = 2;
     _ok($pass, _where(), $name, @mess);
 }