diff options
Diffstat (limited to 'test/test_calendar.ml')
| -rw-r--r-- | test/test_calendar.ml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_calendar.ml b/test/test_calendar.ml index 22f5f04..2f6df6d 100644 --- a/test/test_calendar.ml +++ b/test/test_calendar.ml @@ -99,9 +99,13 @@ module Fixture = struct let rec search d = if (occupant d).Cel.rank = Lo then d else search (D.add_days d 1) in search (D.add_days origin 1) + (* No fixture here exercises citations -- readings is a harmless constant + [], the same role [empty_layer] plays for the sanctoral side. *) + let readings ~observed:_ ~temporal:_ ~date:_ ~temporal_at:_ = [] + let rite : (season, rank) Rite.t = { Rite.id = "synthetic-calendar"; vocab; year_start; temporal; anchors = (fun _ -> []); - rules; season_runs = [ A; B ]; transfer_target } + rules; season_runs = [ A; B ]; transfer_target; readings } let entry ~month ~day ~slug ~rank = { Layer.date = (match Date_spec.fixed ~month ~day with Ok d -> d | Error e -> failwith e); |
