mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Added tests for apply and shuffle.
This commit is contained in:
parent
35c2003773
commit
67d0321a2c
@ -81,4 +81,11 @@ class UtilitiesTestCase(PluginTestCase):
|
|||||||
def testNotOverlongRe(self):
|
def testNotOverlongRe(self):
|
||||||
self.assertError('re [strjoin "" s/./ [eval \'xxx\'*400]] blah blah')
|
self.assertError('re [strjoin "" s/./ [eval \'xxx\'*400]] blah blah')
|
||||||
|
|
||||||
|
def testApply(self):
|
||||||
|
self.assertResponse('apply "utilities last" a', 'a')
|
||||||
|
self.assertResponse('apply "utilities last" a b', 'b')
|
||||||
|
|
||||||
|
def testShuffle(self):
|
||||||
|
self.assertResponse('shuffle a', 'a')
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
Reference in New Issue
Block a user