From: Vincent Pit Date: Tue, 5 Jun 2012 21:06:47 +0000 (+0200) Subject: Teach t/17-ctl.t about perl 5.17.0 X-Git-Tag: v0.49~1 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git;a=commitdiff_plain;h=b1fbb291568b303ad0f9fd3962b806da9154bb7b Teach t/17-ctl.t about perl 5.17.0 --- diff --git a/t/17-ctl.t b/t/17-ctl.t index 31bab66..c32d7f1 100644 --- a/t/17-ctl.t +++ b/t/17-ctl.t @@ -270,7 +270,9 @@ use Variable::Magic qw; BEGIN { cast %::, wizard fetch => sub { die CODE skip 'Test code didn\'t run properly' => $count unless defined $output; my $suffix = "\nExecution(?s:.*)"; - if ("$]" >= 5.011005) { + if ("$]" >= 5.017) { + $suffix = "(?:\nsalsify at -e line \\d+.){16}" . $suffix; + } elsif ("$]" >= 5.011005) { $suffix = "(?:\nsalsify at -e line \\d+.){12}" . $suffix; } elsif ("$]" >= 5.011) { $suffix = "(?:\nsalsify at -e line \\d+.){3}" . $suffix;