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
1 changed files with 3 additions and 0 deletions

View File

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