mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Utilities: Fix encoding in tests.
This commit is contained in:
parent
76a091db50
commit
c9b6b56244
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf8 -*-
|
||||||
###
|
###
|
||||||
# Copyright (c) 2002-2004, Jeremiah Fincher
|
# Copyright (c) 2002-2004, Jeremiah Fincher
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
@ -45,8 +46,8 @@ class UtilitiesTestCase(PluginTestCase):
|
|||||||
def testEcho(self):
|
def testEcho(self):
|
||||||
self.assertHelp('echo')
|
self.assertHelp('echo')
|
||||||
self.assertResponse('echo foo', 'foo')
|
self.assertResponse('echo foo', 'foo')
|
||||||
self.assertResponse('echo 好', '好')
|
self.assertResponse(u'echo 好', '好')
|
||||||
self.assertResponse('echo "好"', '好')
|
self.assertResponse(u'echo "好"', '好')
|
||||||
|
|
||||||
def testEchoDollarOneRepliesDollarOne(self):
|
def testEchoDollarOneRepliesDollarOne(self):
|
||||||
self.assertResponse('echo $1', '$1')
|
self.assertResponse('echo $1', '$1')
|
||||||
|
Loading…
Reference in New Issue
Block a user