]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/17-ctl.t
Cleaner version numbers
[perl/modules/Variable-Magic.git] / t / 17-ctl.t
index 31bab6668cfdd5b530cde71542f5d86994f215bc..ef1be224438280d5825de3fc9b8df7b002252d66 100644 (file)
@@ -270,7 +270,9 @@ use Variable::Magic qw<wizard cast>; 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.011_005) {
   $suffix = "(?:\nsalsify at -e line \\d+.){12}" . $suffix;
  } elsif ("$]" >= 5.011) {
   $suffix = "(?:\nsalsify at -e line \\d+.){3}" . $suffix;