diff --git a/pythonbible/verses.py b/pythonbible/verses.py index a5d796b..b6043e5 100644 --- a/pythonbible/verses.py +++ b/pythonbible/verses.py @@ -24,7 +24,7 @@ 24, 21, 16, - 28, + 27, 34, 38, 19, diff --git a/tests/counters_test.py b/tests/counters_test.py index 27bbc54..4492c2e 100644 --- a/tests/counters_test.py +++ b/tests/counters_test.py @@ -210,3 +210,14 @@ def test_count_verses_string() -> None: # Then the count is correct assert number_of_verses == 1 + 1 + (3 + 1) + + +def test_count_verses_genesis_17() -> None: + # To address https://github.com/avendesora/pythonbible/issues/223 + reference: str = "Genesis 17" + + # Retrieve number of verses in Genesis 17 + number_of_verses: int = bible.count_verses(reference) # type: ignore[arg-type] + + # Genesis 17 should have 27 verses + assert number_of_verses == 27