Added an extra test, just to be sure this worked.

This commit is contained in:
Jeremy Fincher 2004-09-10 06:33:31 +00:00
parent fa124b14b7
commit 0cd853ad35

View File

@ -54,6 +54,9 @@ class UtilitiesTestCase(PluginTestCase):
m = self.getMsg('status cpu') m = self.getMsg('status cpu')
self.assertResponse('echo "%s"' % m.args[1], m.args[1]) self.assertResponse('echo "%s"' % m.args[1], m.args[1])
def testEchoDollarOneRepliesDollarOne(self):
self.assertResponse('echo $1', '$1')
def testEchoStandardSubstitute(self): def testEchoStandardSubstitute(self):
self.assertNotRegexp('echo $nick', r'\$') self.assertNotRegexp('echo $nick', r'\$')