Fix a test in Unix plugin

This commit is contained in:
Valentin Lorentz 2010-10-20 19:11:00 +02:00
parent e93fa2b872
commit e122102e5a
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ if os.name == 'posix':
if utils.findBinaryInPath('aspell') is not None or \
utils.findBinaryInPath('ispell') is not None:
def testSpell(self):
self.assertRegexp('spell Strike', 'correctly')
self.assertRegexp('spell Strike',
'(correctly|Possible spellings)')
# ispell won't find any results. aspell will make some
# suggestions.
self.assertRegexp('spell z0opadfnaf83nflafl230kasdf023hflasdf',