diff options
Diffstat (limited to 'internal/bible/convert_test.go')
| -rw-r--r-- | internal/bible/convert_test.go | 19 |
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) - } - } -} |
