mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fix for bug #859630
This commit is contained in:
parent
dfe9008248
commit
6a674609f4
@ -154,6 +154,14 @@ class MiscTestCase(ChannelPluginTestCase, PluginDocumentation):
|
||||
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]')
|
||||
self.failIf(ircutils.isChannel(m.args[0]))
|
||||
|
Loading…
Reference in New Issue
Block a user