mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
Apparently NoRecurse only failed when the word for the alias was a subset of
the command word.
This commit is contained in:
parent
8474b10f32
commit
8b6783ea55
@ -92,8 +92,8 @@ class AliasTestCase(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
|
|
||||||
def testNoRecursion(self):
|
def testNoRecursion(self):
|
||||||
self.assertError('alias add rotinfinity "rot13 [rotinfinity $1]"')
|
self.assertError('alias add rotinfinity "rot13 [rotinfinity $1]"')
|
||||||
self.assertNotError('alias add rotinfinitnot "rot13 [rotinfinity '\
|
self.assertNotError('alias add rotinfintynot "rot13 [rotinfinity $1]"')
|
||||||
'$1]"')
|
self.assertNotError('alias add rotinfin "rot13 [rotinfinity $1]"')
|
||||||
|
|
||||||
def testNonCanonicalName(self):
|
def testNonCanonicalName(self):
|
||||||
self.assertError('alias add FOO foo')
|
self.assertError('alias add FOO foo')
|
||||||
|
Loading…
Reference in New Issue
Block a user