aboutsummaryrefslogtreecommitdiff
path: root/internal/cli/liturgy_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-27 14:42:56 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-27 14:42:56 +0200
commita13dd6224a095242da54062e4775570c4f16a718 (patch)
tree26dd6abe679b7f7955a2dc8bb378d6cd0a157143 /internal/cli/liturgy_test.go
parent8ce330332289882eb5d4b3b60f0f3bbbcaced259 (diff)
downloadlectio-a13dd6224a095242da54062e4775570c4f16a718.tar.gz
lectio-a13dd6224a095242da54062e4775570c4f16a718.zip
feat(cli,caldata): EF feast proper readings — offline text in --liturgy
Added 1962 Epistle+Gospel citations (from missalemeum) to the 15 EF feasts; --liturgy now resolves + renders the reading text via the corpora (drb/wuj), incl. deuterocanon (Assumption's Judith epistle). Cross-chapter citations use their primary range pending multi-chapter parser support.
Diffstat (limited to 'internal/cli/liturgy_test.go')
-rw-r--r--internal/cli/liturgy_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cli/liturgy_test.go b/internal/cli/liturgy_test.go
index c9d66a5..91e3974 100644
--- a/internal/cli/liturgy_test.go
+++ b/internal/cli/liturgy_test.go
@@ -28,7 +28,7 @@ func TestRunLiturgy(t *testing.T) {
if !strings.Contains(strings.ToLower(out), "solemnity") || !strings.Contains(out, "Assumption") {
t.Errorf("2025-08-15 should be the Assumption solemnity:\n%s", out)
}
- if !strings.Contains(out, "gospel:") {
+ if !strings.Contains(out, "gospel (") {
t.Errorf("proper reading not shown:\n%s", out)
}
}