mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
plugins/Unix: Update the tests to reflect the changes in Unix.spell responses.
This commit is contained in:
parent
d2dc42ede1
commit
9d99590431
@ -38,8 +38,10 @@ if os.name == 'posix':
|
|||||||
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')
|
||||||
|
# ispell won't find any results. aspell will make some
|
||||||
|
# suggestions.
|
||||||
self.assertRegexp('spell z0opadfnaf83nflafl230kasdf023hflasdf',
|
self.assertRegexp('spell z0opadfnaf83nflafl230kasdf023hflasdf',
|
||||||
'not find')
|
'not find|Possible spellings')
|
||||||
self.assertNotError('spell Strizzike')
|
self.assertNotError('spell Strizzike')
|
||||||
self.assertError('spell foo bar baz')
|
self.assertError('spell foo bar baz')
|
||||||
self.assertError('spell -')
|
self.assertError('spell -')
|
||||||
|
Loading…
Reference in New Issue
Block a user