From 1fa4017a20dea1843e08afd257fc7798560659c4 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 17 Aug 2026 22:27:11 +0200 Subject: test(cli): the 3 January pin is a BVM Saturday, not a feria 3 January 2026 is an unoccupied IV-class Saturday, so its office is Our Lady's and now its Mass is too -- the second of the Missal's five, assigned to Christmas through the Purification. The pin held the Christmastide feria's readings, which is what colitur said before RG 309(a) was implemented. Caught by make check on the 0.3.0 release, which is what that gate is for. --- bin/main.ml | 2 +- colitur.opam | 2 +- dune-project | 2 +- test/cli.t | 9 ++++++++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/bin/main.ml b/bin/main.ml index fc50fae..196d137 100644 --- a/bin/main.ml +++ b/bin/main.ml @@ -368,7 +368,7 @@ let readings_report ~overlays y = resolved_year_report ~line:readings_line ~over same reason. Deliberately NOT embedded in [help_text]: the cram test pins help's first line, and a version in it would make every release edit a test expectation for no gain. *) -let version = "0.2.0" +let version = "0.3.0" let help_text = {|colitur -- deterministic liturgical calendar engine (Roman rite, 1962) diff --git a/colitur.opam b/colitur.opam index 98b3242..73574b4 100644 --- a/colitur.opam +++ b/colitur.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.2.0" +version: "0.3.0" synopsis: "Deterministic liturgical calendar engine (computus liturgicus)" depends: [ "ocaml" diff --git a/dune-project b/dune-project index e150157..c110dd1 100644 --- a/dune-project +++ b/dune-project @@ -1,6 +1,6 @@ (lang dune 3.0) (name colitur) -(version 0.2.0) +(version 0.3.0) (generate_opam_files true) (cram enable) diff --git a/test/cli.t b/test/cli.t index b19e8d4..39354c6 100644 --- a/test/cli.t +++ b/test/cli.t @@ -131,10 +131,17 @@ leave the row unsplittable by field number. `day`'s own format is therefore byte-identical to what it was before readings existed -- asserted directly, below. +The third line is worth reading twice: 3 January 2026 is an unoccupied +IV-class Saturday, so the day's office is Our Lady's (RG 78) and its Mass is +hers too -- the second of the Missal's five "Missae de sancta Maria in +sabbato", assigned to Christmas through the Purification (RG 309(a)). It is +NOT the Christmastide feria's Mass, which is what colitur said before that +rule was implemented. + $ colitur readings 2026 | head -3 2026-01-01 ef-circumcision | Titus 2:11-15 | Luke 2:21 2026-01-02 ef-christmas-1-friday | Titus 2:11-15 | Luke 2:21 - 2026-01-03 ef-christmas-1-saturday | Gal 4:1-7 | Luke 2:33-40 + 2026-01-03 ef-christmas-1-saturday | Titus 3:4-7 | Luke 2:15-20 $ colitur readings 2026 | wc -l 365 -- cgit v1.3