diff --git a/tests/test.cmp b/tests/test.cmp index 46131537..6793b3a9 100644 --- a/tests/test.cmp +++ b/tests/test.cmp @@ -1150,6 +1150,18 @@ Global Full OMITs (16 of maximum allowed 500): 2010-12-27 Global Partial OMITs (1 of maximum allowed 366): 12-25 +# Regression test for bugfix in Hebrew calendar Adar jahrzeit +[_i(14, "Adar", today(), 5761)] MSG Purim +today() => 1991-02-16 +Entering UserFN _i(14, "Adar", 1991-02-16, 5761) +x => 14 +y => "Adar" +z => 1991-02-16 +a => 5761 +hebdate(14, "Adar", 1991-02-16, 5761) => 1991-02-28 +trigger(1991-02-28) => "28 February 1991" +Leaving UserFN _i() => "28 February 1991" +../tests/test.rem(317): Trig = Thursday, 28 February, 1991 Test 2 diff --git a/tests/test.rem b/tests/test.rem index 6d2f1f91..7703b0a9 100644 --- a/tests/test.rem +++ b/tests/test.rem @@ -313,6 +313,8 @@ OMIT December 25 MSG X # Next should give a parse error OMIT 26 Dec 2010 THROUGH 27 Dec 2010 MSG This is not legal OMIT DUMP +# Regression test for bugfix in Hebrew calendar Adar jahrzeit +[_i(14, "Adar", today(), 5761)] MSG Purim __EOF__ REM This line should not even be seen And you can put whatever you like here.