[xappy] r612 committed - xappy/unittests/spell_correct_1.py: Enable an old test for a bug...

0 views
Skip to first unread message

xa...@googlecode.com

unread,
Mar 30, 2010, 12:42:17 PM3/30/10
to xappy-...@googlegroups.com
Revision: 612
Author: boulton.rj
Date: Tue Mar 30 09:41:07 2010
Log: xappy/unittests/spell_correct_1.py: Enable an old test for a bug
which has long been fixed.
http://code.google.com/p/xappy/source/detail?r=612

Modified:
/trunk/ChangeLog
/trunk/xappy/unittests/spell_correct_1.py

=======================================
--- /trunk/ChangeLog Wed Mar 10 07:41:43 2010
+++ /trunk/ChangeLog Tue Mar 30 09:41:07 2010
@@ -1,3 +1,8 @@
+Tue Mar 30 16:40:31 GMT 2010 Richard Boulton <ric...@tartarus.org>
+
+ * xappy/unittests/spell_correct_1.py: Enable an old test for a bug
+ which has long been fixed.
+
Wed Mar 10 15:15:41 GMT 2010 Richard Boulton <ric...@tartarus.org>

* libs/get_xapian.py: Link to new version of xapian.
=======================================
--- /trunk/xappy/unittests/spell_correct_1.py Tue Jun 24 06:31:01 2008
+++ /trunk/xappy/unittests/spell_correct_1.py Tue Mar 30 09:41:07 2010
@@ -35,7 +35,7 @@
query = 'brunore'
self.assertEqual('bruno', self.sconn.spell_correct(query))
query = 'brunore-brunore'
- self.sconn.spell_correct(query)#will throw RuntimeError
+ self.assertEqual('bruno-bruno', self.sconn.spell_correct(query))

if __name__ == '__main__':
main()

Reply all
Reply to author
Forward
0 new messages