summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-13 07:21:57 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-13 07:21:57 +0000
commiteb31e019adaf87f593090a302f99b0a16d05c282 (patch)
tree08c559b89e6542ab738e1208eb8cd1eb99898baa
parentFor bug #177763, clarify about how FEATURES=keepwork allows ${WORKDDIR} to be... (diff)
downloadportage-multirepo-eb31e019adaf87f593090a302f99b0a16d05c282.tar.gz
portage-multirepo-eb31e019adaf87f593090a302f99b0a16d05c282.tar.bz2
portage-multirepo-eb31e019adaf87f593090a302f99b0a16d05c282.zip
Fix the varexpand quotes tests since quotes are no longer removed by this function. (trunk r6524:6525)
svn path=/main/branches/2.1.2/; revision=6526
-rw-r--r--tests/portage_util/test_varExpand.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/portage_util/test_varExpand.py b/tests/portage_util/test_varExpand.py
index 0515bf7e..63f6433e 100644
--- 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],