X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FTime%2Fgmtime.t;h=9c77f8157037ac9c8bf80b6a205c3adea21288e9;hb=461d5a49bcaf1bdc023edb10ef9b6c0606ec0131;hp=1ccd7fb826f2744d3c6a6031516b04099b933910;hpb=b86b480f7301a8816081189c89b366a79ab9909f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Time/gmtime.t b/lib/Time/gmtime.t index 1ccd7fb..9c77f81 100644 --- a/lib/Time/gmtime.t +++ b/lib/Time/gmtime.t @@ -9,7 +9,7 @@ BEGIN { my(@times, @methods); BEGIN { - @times = (-2**33, -2**31-1, 0, 2**31-1, 2**33, time); + @times = (-2**62, -2**50, -2**33, -2**31-1, -1, 0, 1, 2**31-1, 2**33, 2**50, 2**62, time); @methods = qw(sec min hour mday mon year wday yday isdst); plan tests => (@times * @methods) + 1; @@ -17,7 +17,6 @@ BEGIN { use_ok Time::gmtime; } -# Perl has its own gmtime() so it's safe to do negative times. for my $time (@times) { my $gmtime = gmtime $time; # This is the OO gmtime. my @gmtime = CORE::gmtime $time; # This is the gmtime function