mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Added tests for error conditions.
This commit is contained in:
parent
336108c736
commit
63eb848946
@ -84,6 +84,12 @@ class AliasTestCase(PluginTestCase):
|
||||
self.assertNotError('alias rev "echo $3 $2 $1"')
|
||||
self.assertResponse('rev foo bar baz', 'baz bar foo')
|
||||
|
||||
def testNoRecursion(self):
|
||||
self.assertError('alias rotinfinity "rot13 [rotinfinity $1]"')
|
||||
|
||||
def testNonCanonicalName(self):
|
||||
self.assertError('alias FOO foo')
|
||||
|
||||
|
||||
|
||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||
|
Loading…
Reference in New Issue
Block a user