summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/date/Test.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/date/Test.pm b/tests/date/Test.pm
index a9e3b50f7..bfd972e1a 100644
--- a/tests/date/Test.pm
+++ b/tests/date/Test.pm
@@ -25,6 +25,10 @@ sub test_vector
['7', "-d '$d1' +'%U_%V_%w_%W'", {}, '03_03_0_02', 0],
['8', "-d '$d1' +'%x_%X_%y_%Y'", {}, '01/19/97_08:17:48_97_1997', 0],
['9', "-d '$d1' +'%z_%Z'", {}, '+0000_GMT', 0],
+
+ ['leap-1', "--date '02/29/1996 - 1 year' +%Y-%m-%d", {}, '1997-03-01', 0],
+
+ # FIXME: add a lot more...
);
my @tv;