[sword-svn] r2573 - trunk/tests/testsuite

scribe at crosswire.org scribe at crosswire.org
Sun Oct 17 14:15:48 MST 2010


Author: scribe
Date: 2010-10-17 14:15:48 -0700 (Sun, 17 Oct 2010)
New Revision: 2573

Modified:
   trunk/tests/testsuite/verseparsing.good
   trunk/tests/testsuite/verseparsing.sh
Log:
Added test to check for 'f' in book name to assure we don't regress to bug which Ben Morgan reported where any 'f' in book name triggers 'and following' behavior.


Modified: trunk/tests/testsuite/verseparsing.good
===================================================================
--- trunk/tests/testsuite/verseparsing.good	2010-10-17 21:06:53 UTC (rev 2572)
+++ trunk/tests/testsuite/verseparsing.good	2010-10-17 21:15:48 UTC (rev 2573)
@@ -60,6 +60,9 @@
 1Jn1.1ff;3:10f en KJV ge 1: I John 1:1-I John 1:10; I John 3:10-I John 3:11
 1Jn1.1,8ff; 3:10-12,14f,17ff en KJV ge 1: I John 1:1; I John 1:8-I John 1:10; I John 3:10-I John 3:12; I John 3:14-I John 3:15; I John 3:17-I John 3:24
 Song of 3:5 en KJV ge 1: Song of Solomon 3:5
+Song of Sol 3:5 en KJV ge 1: Song of Solomon 3:5
+Revelation of John 1:1 en KJV ge 1: Revelation of John 1:1
+
 Gen en KJV ge 1: Genesis 1:1-Genesis 50:26
 Genes en KJV ge 1: Genesis 1:1-Genesis 50:26
 Exod en KJV ge 1: Exodus 1:1-Exodus 40:38

Modified: trunk/tests/testsuite/verseparsing.sh
===================================================================
--- trunk/tests/testsuite/verseparsing.sh	2010-10-17 21:06:53 UTC (rev 2572)
+++ trunk/tests/testsuite/verseparsing.sh	2010-10-17 21:15:48 UTC (rev 2573)
@@ -90,8 +90,10 @@
 ../parsekey "1Jn1.1ff;3:10f" en KJV ge 1
 ../parsekey "1Jn1.1,8ff; 3:10-12,14f,17ff" en KJV ge 1
 
-### false negative
+### check for 'f' in book name which might trigger 'and following'
 ../parsekey "Song of 3:5" en KJV ge 1
+../parsekey "Song of Sol 3:5" en KJV ge 1
+../parsekey "Revelation of John 1:1" en KJV ge 1
 
 en_abbrevs="
 Gen Genes Exod Ex Exo Lev Le Levi Num Nu Numb Deut Deu De Josh Jos Joshu




More information about the sword-cvs mailing list