aboutsummaryrefslogtreecommitdiff
path: root/test/test_calendar.ml
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_calendar.ml')
-rw-r--r--test/test_calendar.ml7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/test_calendar.ml b/test/test_calendar.ml
index 599dfb2..74fe26a 100644
--- a/test/test_calendar.ml
+++ b/test/test_calendar.ml
@@ -104,6 +104,11 @@ module Fixture = struct
the sanctoral side. *)
let readings ~observed:_ ~temporal:_ ~date:_ ~temporal_at:_ = (None, [])
+ (* No fixture here exercises the Creed rubric either -- a rite that has
+ not implemented it returns [false] explicitly, {!Rite.t.creed}'s own
+ documented default. *)
+ let creed ~temporal:_ ~observed:_ ~date:_ = false
+
let rite : (season, rank) Rite.t =
{ Rite.id = "synthetic-calendar"; vocab; year_start; temporal; anchors = (fun _ -> []);
(* Not a Roman rite, but a Rite.t must supply SOME Easter now that
@@ -111,7 +116,7 @@ module Fixture = struct
any for a fixture; nothing here is Easter-relative, so the value
is never actually read. *)
easter = Colitur_kernel.Computus.gregorian_easter;
- rules; season_runs = [ A; B ]; transfer_target; readings }
+ rules; season_runs = [ A; B ]; transfer_target; readings; creed }
let entry ~month ~day ~slug ~rank =
{ Layer.date = (match Date_spec.fixed ~month ~day with Ok d -> d | Error e -> failwith e);