From: Paul "LeoNerd" Evans Date: Tue, 31 Jan 2012 18:17:16 +0000 (+0000) Subject: Fix ext/POSIX/t/time.t test 17's name to be a) unique, and b) factually accurate X-Git-Tag: v5.15.8~106^2~9 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/c39915242f53a4d2c184fd276024090e789f00a6 Fix ext/POSIX/t/time.t test 17's name to be a) unique, and b) factually accurate --- diff --git a/ext/POSIX/t/time.t b/ext/POSIX/t/time.t index 3d38610..bcd3b16 100644 --- a/ext/POSIX/t/time.t +++ b/ext/POSIX/t/time.t @@ -76,7 +76,7 @@ is_deeply(\@time, [1, 23, 4, 18, 12-1, 2011-1900, 0, 351, 0], 'strptime() all da # tm_year == 6 => 1906, which is a negative time_t. Lets use 106 as 2006 instead @time = POSIX::strptime("12:34:56", "%H:%M:%S", 1, 2, 3, 4, 5, 106); -is_deeply(\@time, [56, 34, 12, 4, 5, 106, 0, 154, 1], 'strptime() all date fields with passed time'); +is_deeply(\@time, [56, 34, 12, 4, 5, 106, 0, 154, 1], 'strptime() all time fields with passed date'); @time = POSIX::strptime("July 4", "%b %d"); is_deeply([@time[3,4]], [4, 7-1], 'strptime() partial yields correct mday/mon');