Revert "Utilities: Add @concat command": already in Format.

This reverts commit 75f9917f86.
This commit is contained in:
Valentin Lorentz 2012-09-30 11:35:35 +00:00
parent 75f9917f86
commit 247ed460b0
2 changed files with 0 additions and 14 deletions

View File

@ -67,15 +67,6 @@ class Utilities(callbacks.Plugin):
irc.replySuccess(text)
success = wrap(success, [additional('text')])
@internationalizeDocstring
def concat(self, irc, msg, args, things):
"""<arg> [<arg> ...]
Concatenates all arguments.
"""
irc.reply(''.join(things))
concat = wrap(concat, [many('anything')])
@internationalizeDocstring
def last(self, irc, msg, args):
"""<text> [<text> ...]

View File

@ -39,11 +39,6 @@ class UtilitiesTestCase(PluginTestCase):
self.assertNotError('success 1')
self.assertError('success [re m/foo bar]')
def testConcat(self):
self.assertResponse('concat foo bar', 'foobar')
self.assertResponse('concat [echo foo] [echo bar]', 'foobar')
self.assertResponse('concat "foo bar"', 'foo bar')
def testLast(self):
self.assertResponse('utilities last foo bar baz', 'baz')