Skip to content

Commit

Permalink
Work around dreaded qr//m 5.8 bug in MakeMaker test
Browse files Browse the repository at this point in the history
Use the same neat trick employed elsewhere in dzil history.
rjbs++
  • Loading branch information
rwstauner authored and rjbs committed Feb 16, 2012
1 parent 3dcb6ac commit bb530e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/plugins/makemaker.t
Expand Up @@ -74,7 +74,7 @@ use Test::DZil;

my $content = $tzil->slurp_file('build/Makefile.PL');

like($content, qr/^use 5\.008001;$/m, "normalized the perl version needed");
like($content, qr/^use 5\.008001;\s*$/m, "normalized the perl version needed");
}

done_testing;

0 comments on commit bb530e2

Please sign in to comment.