From c39915242f53a4d2c184fd276024090e789f00a6 Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Tue, 31 Jan 2012 18:17:16 +0000 Subject: [PATCH] Fix ext/POSIX/t/time.t test 17's name to be a) unique, and b) factually accurate --- ext/POSIX/t/time.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 1.8.3.1