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

View File

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