add deprecation WARNING to pod
[p5sagit/Devel-Declare.git] / t / debug.t
index 543f463..d7b93c3 100644 (file)
--- a/t/debug.t
+++ b/t/debug.t
@@ -1,10 +1,10 @@
 use strict;
 use warnings;
 
-use Test::More;
+use Test::More 0.88;
 
 BEGIN {
-  if($] eq "5.011002") {
+  if("$]" eq "5.011002") {
     plan skip_all => "line debugging broken on 5.11.2";
   }
 }
@@ -30,7 +30,7 @@ $SIG{ALRM} = sub {
 alarm 10;
 my $output = `$^X -d t/debug.pl`;
 
-like($output, qr/method new {}, sub {my \$self = shift;/,
+like($output, qr/method new \{\}, sub \{my \$self = shift;/,
   "replaced line string visible in debug lines");
 
 done_testing;