projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2248797
)
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:19:42 +0000
(07:19 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 13 May 2007 07:19:42 +0000
(07:19 -0000)
svn path=/main/trunk/; revision=6525
pym/portage/tests/util/test_varExpand.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/util/test_varExpand.py
b/pym/portage/tests/util/test_varExpand.py
index 0a8bf5b118e7db8c5d755162c71d71e67e289880..ee0f573c97b1e656d80b0edd77b4c7feebf446c0 100644
(file)
--- a/
pym/portage/tests/util/test_varExpand.py
+++ b/
pym/portage/tests/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],