Skip to content

Commit fa3c756

Browse files
committed
updates "Additions to Esther" book
removes "Greek" from output, adds regex matching options, including OSIS abbreviation
1 parent ff62e52 commit fa3c756

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scriptures/tests/test_deuterocanon_booknames.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ def test_judith(self):
2727
self.assertEqual(f('Jud 1:1'), 'Judith 1:1')
2828

2929
def test_additions_to_esther(self):
30-
self.assertEqual(f('esther (greek) 1:1'), 'Esther (Greek) 1:1')
30+
self.assertEqual(f('esther (greek) 1:1'), 'Additions to Esther 1:1')
31+
self.assertEqual(f('additions to esther 1:1'), 'Additions to Esther 1:1')
32+
self.assertEqual(f('addesth 1:1'), 'Additions to Esther 1:1')
3133

3234
def test_wisdom_of_solomon(self):
3335
self.assertEqual(f('the wisdom of solomon 1:1'),

scriptures/texts/deuterocanon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ class Deuterocanon(Text):
1616
23, 23, 20, 20, 19, 13, 25
1717
]),
1818

19-
'addesth': ('Esther (Greek)', 'AddEsth', 'Esther \\(Greek\\)?',
19+
'addesth': ('Additions to Esther', 'AddEsth',
20+
'(?:AddEsth|Additions to Esther|Esther \\(Greek\\))',
2021
[
2122
39, 23, 22, 47, 28, 14, 10, 41, 32, 13
2223
]),

0 commit comments

Comments
 (0)