From e122102e5a7375763d3e2d04cf3425f7bc42a741 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 20 Oct 2010 19:11:00 +0200 Subject: [PATCH] Fix a test in Unix plugin --- plugins/Unix/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Unix/test.py b/plugins/Unix/test.py index 062ce550b..d554d90c7 100644 --- a/plugins/Unix/test.py +++ b/plugins/Unix/test.py @@ -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',