diff options
Diffstat (limited to 'testLibbible.cc')
-rw-r--r-- | testLibbible.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testLibbible.cc b/testLibbible.cc index 20ff7d9..d3a265a 100644 --- a/testLibbible.cc +++ b/testLibbible.cc @@ -186,6 +186,9 @@ void TestLibbible::testGetText(void) { pair<int, int>(15, 4), pair<int, int>(15, 5)}); CPPUNIT_ASSERT(chapVerses == shouldContain); + + text = libbible::getText(libbible::getPassage("KJV", "John 21")); + CPPUNIT_ASSERT(text.back().verse == 25); } void TestLibbible::testSettings(void) { |