projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f68b262
)
Fix the varexpand quotes tests since quotes are no longer removed by this function...
author
Zac Medico
<zmedico@gentoo.org>
Sun, 13 May 2007 07:21:57 +0000
(07:21 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 13 May 2007 07:21:57 +0000
(07:21 -0000)
svn path=/main/branches/2.1.2/; revision=6526
tests/portage_util/test_varExpand.py
patch
|
blob
|
history
diff --git
a/tests/portage_util/test_varExpand.py
b/tests/portage_util/test_varExpand.py
index 0515bf7e56c116711da53a615085559b1e07c5c1..63f6433e9a231c15e0258ee76913bb7668448173 100644
(file)
--- a/
tests/portage_util/test_varExpand.py
+++ b/
tests/portage_util/test_varExpand.py
@@
-25,7
+25,7
@@
class VarExpandTestCase(TestCase):
def testVarExpandDoubleQuotes(self):
varDict = { "a":"5" }
- tests = [ ("\"${a}\"", "
5
") ]
+ tests = [ ("\"${a}\"", "
\"5\"
") ]
for test in tests:
result = varexpand( test[0], varDict )
self.failIf( result != test[1],
@@
-35,7
+35,7
@@
class VarExpandTestCase(TestCase):
def testVarExpandSingleQuotes(self):
varDict = { "a":"5" }
- tests = [ ("\'${a}\'", "
${a}
") ]
+ tests = [ ("\'${a}\'", "
\'${a}\'
") ]
for test in tests:
result = varexpand( test[0], varDict )
self.failIf( result != test[1],