test/unit: Add some tests to verify my ideas of how stuff works.
[ca] / test / unit
index 9f5aee3..9667478 100755 (executable)
--- a/test/unit
+++ b/test/unit
@@ -67,6 +67,8 @@ test next-matching-date {pat ref want} {
   {"*-*-* *:19:05" "2012-12-04 00:19:06" "2012-12-04 01:19:05"}
   {"*-*-31 01:02:03" "2012-11-03 04:05:06" "2012-12-31 01:02:03"}
   {"*/2-*/3-*/5 */7:*/11:*/13" "2011-12-04 00:00:04" "2012-03-05 00:00:00"}
+  {"*-03-01 00:00:00" "2020-05-14 13:44:09" "2021-03-01 00:00:00"}
+  {"*-03-01 00:00:00" "2021-03-01 00:25:04" "2022-03-01 00:00:00"}
 }