Added tests for apply and shuffle.

This commit is contained in:
Jeremy Fincher 2004-12-18 21:23:23 +00:00
parent 35c2003773
commit 67d0321a2c

View File

@ -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: