diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2012-01-31 18:17:16 +0000 |
---|---|---|
committer | Ævar Arnfjörð Bjarmason <avar@cpan.org> | 2012-02-11 22:22:25 +0000 |
commit | c39915242f53a4d2c184fd276024090e789f00a6 (patch) | |
tree | 260b4c329e954f97aaa3b51e89821cfe36218d09 | |
parent | b0929aaf4ef3874c994465c95f14ee49a6b8ba2a (diff) | |
download | perl-c39915242f53a4d2c184fd276024090e789f00a6.tar.gz |
Fix ext/POSIX/t/time.t test 17's name to be a) unique, and b) factually accurate
-rw-r--r-- | ext/POSIX/t/time.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/t/time.t b/ext/POSIX/t/time.t index 3d3861066d..bcd3b164fd 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'); |