From 3aa90a9b8d7623a70e2d3a505bea080ba37c1d67 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 27 Jul 2026 14:30:55 +0200 Subject: data(bible): close the deuterocanon gap in vul + drb corpora Added Tobit, Judith, Wisdom, Sirach, Baruch to vul (5) and those + 1-2 Maccabees to drb (7), from get.bible's public-domain Clementine Vulgate / Douay-Rheims (Clementine versification = the EF citation basis). EF and OF deuterocanonical citations (e.g. the Assumption's Judith epistle) now resolve against the corpora. Flipped the gap-documenting test to assert resolution. --- internal/bible/ref_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'internal/bible/ref_test.go') diff --git a/internal/bible/ref_test.go b/internal/bible/ref_test.go index 3a661ad..9473123 100644 --- a/internal/bible/ref_test.go +++ b/internal/bible/ref_test.go @@ -25,7 +25,11 @@ func TestLookup(t *testing.T) { if last.Verse != 18 { t.Errorf("last verse = %d want 18", last.Verse) } - if _, m := Lookup("vul", "Wisdom 3:1"); len(m) == 0 { - t.Error("vul lacks Wisdom; expected a missing entry") + // Deuterocanon now present in vul + drb (Clementine Vulgate / Douay-Rheims). + if vs, m := Lookup("vul", "Wisdom 3:1"); len(m) != 0 || len(vs) == 0 { + t.Errorf("vul Wisdom 3:1: missing=%v verses=%d (deuterocanon should resolve)", m, len(vs)) + } + if vs, m := Lookup("drb", "Judith 13:22"); len(m) != 0 || len(vs) == 0 { + t.Errorf("drb Judith 13:22: missing=%v verses=%d (deuterocanon should resolve)", m, len(vs)) } } -- cgit v1.3