Utilities: Add tests for unicode characters.

This commit is contained in:
Valentin Lorentz 2013-01-21 20:20:26 +01:00
parent 84a87e4307
commit bbe65a39a6
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ class UtilitiesTestCase(PluginTestCase):
def testEcho(self):
self.assertHelp('echo')
self.assertResponse('echo foo', 'foo')
self.assertResponse('echo 好', '')
self.assertResponse('echo ""', '')
def testEchoDollarOneRepliesDollarOne(self):
self.assertResponse('echo $1', '$1')