From 86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 29 Feb 2016 19:34:34 +0100 Subject: Bug 1136137: Require Perl 5.14 r=dkl --- t/002goodperl.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 't/002goodperl.t') diff --git a/t/002goodperl.t b/t/002goodperl.t index 7b2e74acc..400483a5a 100644 --- a/t/002goodperl.t +++ b/t/002goodperl.t @@ -10,7 +10,7 @@ #Bugzilla Test 2# ####GoodPerl##### -use 5.10.1; +use 5.14.0; use strict; use warnings; @@ -88,16 +88,16 @@ foreach my $file (@testitems) { next; } while (my $file_line = ) { - $found_use_perl = 1 if $file_line =~ m/^\s*use 5.10.1/; + $found_use_perl = 1 if $file_line =~ m/^\s*use 5\.14\.0/; $found_use_strict = 1 if $file_line =~ m/^\s*use strict/; $found_use_warnings = 1 if $file_line =~ m/^\s*use warnings/; last if ($found_use_perl && $found_use_strict && $found_use_warnings); } close (FILE); if ($found_use_perl) { - ok(1,"$file requires Perl 5.10.1"); + ok(1,"$file requires Perl 5.14.0"); } else { - ok(0,"$file DOES NOT require Perl 5.10.1 --WARNING"); + ok(0,"$file DOES NOT require Perl 5.14.0 --WARNING"); } if ($found_use_strict) { -- cgit v1.2.3-24-g4f1b