mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Revert "Utilities: Add @concat command": already in Format.
This reverts commit 75f9917f86
.
This commit is contained in:
parent
75f9917f86
commit
247ed460b0
@ -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> ...]
|
||||
|
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user