chiark / gitweb /
test/unit: Add some tests to verify my ideas of how stuff works.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 14 May 2020 12:45:36 +0000 (13:45 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 May 2020 12:45:36 +0000 (13:45 +0100)
No bugs found, as expected.

test/unit

index 9f5aee32f1db1f3e3d9e2e8a389b657d666e5e6e..9667478e8679c553aaf7b88c547edebdad1af4e7 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"}
 }