From 6a674609f4c5c3cb2ca1f5dfb3a6e863f023e0d2 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 16 Dec 2003 04:12:01 +0000 Subject: [PATCH] Fix for bug #859630 --- test/test_Misc.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test_Misc.py b/test/test_Misc.py index 6b4773d61..11246d3b2 100644 --- a/test/test_Misc.py +++ b/test/test_Misc.py @@ -153,6 +153,14 @@ class MiscTestCase(ChannelPluginTestCase, PluginDocumentation): self.assertRegexp('echo %s' % ('abc'*300), 'more') self.assertRegexp('more', 'more') self.assertNotRegexp('more', 'more') + + def testMoreIsCaseInsensitive(self): + self.assertNotError('echo %s' % ('abc'*2000)) + self.assertNotError('more') + nick = ircutils.nickFromHostmask(self.prefix) + self.assertNotError('more %s' % nick) + self.assertNotError('more %s' % nick.upper()) + self.assertNotError('more %s' % nick.lower()) def testPrivate(self): m = self.getMsg('private [list]')