From 9d99590431396c916fa67d9f08dabff0dc7b298d Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 25 Jul 2005 12:28:48 +0000 Subject: [PATCH] plugins/Unix: Update the tests to reflect the changes in Unix.spell responses. --- plugins/Unix/test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/Unix/test.py b/plugins/Unix/test.py index adbacce3f..1ca7ae3b4 100644 --- a/plugins/Unix/test.py +++ b/plugins/Unix/test.py @@ -38,8 +38,10 @@ if os.name == 'posix': utils.findBinaryInPath('ispell') is not None: def testSpell(self): self.assertRegexp('spell Strike', 'correctly') + # ispell won't find any results. aspell will make some + # suggestions. self.assertRegexp('spell z0opadfnaf83nflafl230kasdf023hflasdf', - 'not find') + 'not find|Possible spellings') self.assertNotError('spell Strizzike') self.assertError('spell foo bar baz') self.assertError('spell -')