diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-13 09:20:33 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-13 09:20:33 +0200 |
| commit | 9e6f099f7f1dd918cf5f9f418ed5e2408289dd40 (patch) | |
| tree | cbebb0fbb8b483a3351e20541b381c7eb7aadbbd /lib/kernel/subject.ml | |
| parent | b9b26ef4badc2ef4dfff2e57decf7f9c57066888 (diff) | |
| download | colitur-9e6f099f7f1dd918cf5f9f418ed5e2408289dd40.tar.gz colitur-9e6f099f7f1dd918cf5f9f418ed5e2408289dd40.zip | |
test(temporal_ef): fix round 1 (F5) -- the anchor erosion test proved nothing
test_holy_family_anchor_present_and_erosion_is_caught built its
"eroded" list by filtering the exact pair it then asserted was
absent -- removing an element and checking it is gone proves
List.filter works, not that any detector caught anything. Borrowed
the name of test_anchors_erosion_is_caught, which uses a genuine
one: missing_from_anchors, called with an "expected" set sourced
independently of T.anchors (named_slugs_for_year, via T.named).
Reworked to match that shape: the expected slug is now sourced from
T.sunday_slug (season/weekday logic, a different function entirely
from T.anchors's own hand-typed string), and both the presence and
erosion checks reuse the real missing_from_anchors detector instead
of a bespoke, self-referential one.
Diffstat (limited to 'lib/kernel/subject.ml')
0 files changed, 0 insertions, 0 deletions
