X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fdebug.t;h=d7b93c3b979a7244fbb540820c0ee97c6c4e4968;hb=ether%2Ftravis-debugging;hp=543f463a35d5ed58110aebc6bbf5bcf0b70d4f31;hpb=e4e34af38add6c3a8a05470f358ddd7cec9a287b;p=p5sagit%2FDevel-Declare.git diff --git a/t/debug.t b/t/debug.t index 543f463..d7b93c3 100644 --- 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;