From d02b4253a493d89ac51e8451ae0cd5a33de1591f Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 5 Sep 2003 08:37:06 +0000 Subject: [PATCH] Added a test for empty []. --- test/test_callbacks.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_callbacks.py b/test/test_callbacks.py index 1214e8a22..7e40d4431 100644 --- a/test/test_callbacks.py +++ b/test/test_callbacks.py @@ -117,4 +117,9 @@ class FunctionsTestCase(unittest.TestCase): '%s: foo' % channelMsg.nick), callbacks.reply(channelMsg, 'foo')) +class PrivmsgTestCase(PluginTestCase): + plugins = ('Utilities',) + def testEmptySquareBrackets(self): + self.assertResponse('echo []', '[]') + # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: