mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Added a test for empty [].
This commit is contained in:
parent
3be6255745
commit
d02b4253a4
@ -117,4 +117,9 @@ class FunctionsTestCase(unittest.TestCase):
|
|||||||
'%s: foo' % channelMsg.nick),
|
'%s: foo' % channelMsg.nick),
|
||||||
callbacks.reply(channelMsg, 'foo'))
|
callbacks.reply(channelMsg, 'foo'))
|
||||||
|
|
||||||
|
class PrivmsgTestCase(PluginTestCase):
|
||||||
|
plugins = ('Utilities',)
|
||||||
|
def testEmptySquareBrackets(self):
|
||||||
|
self.assertResponse('echo []', '[]')
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
Reference in New Issue
Block a user