aboutsummaryrefslogtreecommitdiff
path: root/internal/bible/convert_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 12:52:13 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 12:52:13 +0200
commit44472bbe31475a3c672ae003d928d7caffb4b50a (patch)
treee74bae03c61b62479ef4f68b046e3345618933c8 /internal/bible/convert_test.go
parent626f2275438a37e5cd2efb5964281b9bef5ce8cc (diff)
parent7b220084cf3951c8cde0582efdfcf628afc64336 (diff)
downloadlectio-44472bbe31475a3c672ae003d928d7caffb4b50a.tar.gz
lectio-44472bbe31475a3c672ae003d928d7caffb4b50a.zip
Merge branch 'of-offline-migration': offline daily view, remove scrapers
Diffstat (limited to 'internal/bible/convert_test.go')
-rw-r--r--internal/bible/convert_test.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/internal/bible/convert_test.go b/internal/bible/convert_test.go
deleted file mode 100644
index 6f16c89..0000000
--- a/internal/bible/convert_test.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package bible
-
-import "testing"
-
-func TestToEnglishRef(t *testing.T) {
- cases := []struct{ in, system, want string }{
- {"Mt 7, 1-5", "vulgate", "Mat 7:1-5"},
- {"J 20, 1. 11-18", "vulgate", "John 20:1,11-18"},
- {"por. J 20, 11", "vulgate", "John 20:11"},
- {"Ps 63 (62), 2. 3-4. 5-6. 8-9 (R.: por. 2ab)", "vulgate", "Psalms 62:2,3-4,5-6,8-9"},
- {"Ps 63 (62), 2. 3-4. 5-6. 8-9 (R.: por. 2ab)", "drb", "Psalms 63:1,2-3,4-5,7-8"},
- }
- for _, c := range cases {
- got, err := ToEnglishRef(c.in, c.system)
- if err != nil || got != c.want {
- t.Errorf("ToEnglishRef(%q,%q)=%q,%v want %q", c.in, c.system, got, err, c.want)
- }
- }
-}