aboutsummaryrefslogtreecommitdiff
path: root/internal/bible/bible_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/bible/bible_test.go')
-rw-r--r--internal/bible/bible_test.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/bible/bible_test.go b/internal/bible/bible_test.go
index a363d4d..804b8c4 100644
--- a/internal/bible/bible_test.go
+++ b/internal/bible/bible_test.go
@@ -29,6 +29,18 @@ func TestVerses(t *testing.T) {
func hasPrefix(s, p string) bool { return len(s) >= len(p) && s[:len(p)] == p }
+// TestGrbNoApparatusMarkers guards the corpus fix: the SBLGNT apparatus sigla
+// (U+2E00–U+2E0D) were stripped from the Greek text.
+func TestGrbNoApparatusMarkers(t *testing.T) {
+ for _, v := range Verses("grb", "Luke", 16) {
+ for _, r := range v.Text {
+ if r >= 0x2E00 && r <= 0x2E0D {
+ t.Fatalf("grb Luke 16:%d still has apparatus marker U+%04X: %q", v.Verse, r, v.Text)
+ }
+ }
+ }
+}
+
// TestVul2Kings guards the corpus fix: 2 Kings was mislabeled "2 King" in the
// Vulgate TSV, so bible.Verses("vul","2 Kings",...) returned nothing.
func TestVul2Kings(t *testing.T) {