diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/caldata/caldata_test.go | 34 | ||||
| -rw-r--r-- | internal/caldata/tridentine-calendar.ini | 1 |
2 files changed, 21 insertions, 14 deletions
diff --git a/internal/caldata/caldata_test.go b/internal/caldata/caldata_test.go index 2cf10a5..a9bc860 100644 --- a/internal/caldata/caldata_test.go +++ b/internal/caldata/caldata_test.go @@ -74,13 +74,16 @@ func TestTridentineLoads(t *testing.T) { t.Fatalf("EF sanctoral has only %d entries; expected the full calendar", len(l.Cels)) } // Landmark feasts must be present with the right rank/class: Sts Peter & Paul - // (I class, 06-29), the Purification/Presentation (II class, 02-02 -- a - // feast of the BLESSED VIRGIN, calendarium "IN PURIFICATIONE B. MARIAE - // VIRG.", NOT of the Lord; class must be empty, not "lord"), the - // Immaculate Conception (I class, 12-08). + // (I class, 06-29), the Purification/Presentation (II class, 02-02, class + // = lord -- see classOf's own doc comment in scripts/gen-sanctoral-ef.go + // for why: the calendarium's own title names the BLESSED VIRGIN, but the + // tag exists to drive OCCURRENCE behaviour, and missalemeum -- this + // data's own oracle -- shows the Purification taking a II-class Sunday's + // place outright, the "festum Domini" pattern, not the ordinary-BVM + // pattern), the Immaculate Conception (I class, 12-08). want := map[string]struct{ date, rank, class string }{ "sts-peter-paul": {"06-29", "class-1", ""}, - "purification-of-the-blessed-virgin-mary": {"02-02", "class-2", ""}, + "purification-of-the-blessed-virgin-mary": {"02-02", "class-2", "lord"}, "immaculate-conception-of-the-blessed-virgin-mary": {"12-08", "class-1", ""}, } for slug, w := range want { @@ -106,15 +109,18 @@ func TestTridentineLoads(t *testing.T) { } // TestTridentineClassOfLord: scripts/gen-sanctoral-ef.go's classOf tags -// feasts of the Lord (class = lord). Two entries were wrongly tagged lord -// (title-substring false positives: "purification" always meant the BVM's -// own feast, calendarium "IN PURIFICATIONE B. MARIAE VIRG."; "holy name" -// alone matched both "Holy Name of Jesus" and "Most Holy Name of MARY", -// calendarium "Sanctissimi Nominis Mariae"), and one was missing the tag -// entirely (13 January's title ends "of THE Lord", not "of OUR Lord", the -// only suffix classOf used to check -- calendarium "IN COMMEMORATIONE -// BAPTISMATIS D. N. I. C."). See TestTridentineLoads for the Purification's -// own class assertion (kept there, alongside its date/rank, not duplicated). +// feasts of the Lord (class = lord). "Most Holy Name of Mary" was wrongly +// tagged lord (a title-substring false positive: "holy name" alone matches +// both "Holy Name of Jesus" and "Most Holy Name of MARY", calendarium +// "Sanctissimi Nominis Mariae") and is fixed here, not contested. The +// Baptism commemoration was missing the tag entirely (13 January's title +// ends "of THE Lord", not "of OUR Lord", the only suffix classOf used to +// check -- calendarium "IN COMMEMORATIONE BAPTISMATIS D. N. I. C."), also +// fixed and not contested. The Purification is DELIBERATELY absent from +// this table: it stays tagged lord, on occurrence-behaviour evidence, not +// the calendarium's title -- see TestTridentineLoads and classOf's own doc +// comment in scripts/gen-sanctoral-ef.go for the full account of why it is +// the one contested case, not a clean-cut fix. func TestTridentineClassOfLord(t *testing.T) { l := Tridentine() want := map[string]string{ diff --git a/internal/caldata/tridentine-calendar.ini b/internal/caldata/tridentine-calendar.ini index 203f82f..9010845 100644 --- a/internal/caldata/tridentine-calendar.ini +++ b/internal/caldata/tridentine-calendar.ini @@ -220,6 +220,7 @@ reading.gospel = John 12:24-26 date = 02-02 rank = class-2 colour = white +class = lord name.en = Purification of the Blessed Virgin Mary reading.first = Mal 3:1-4 reading.gospel = Luke 2:22-32 |
