summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/UtilTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-05-02 13:40:38 (GMT)
committerSteven Knight <knight@baldmt.com>2002-05-02 13:40:38 (GMT)
commit39d50eb2332228e827b56638877862f4c709a6bf (patch)
tree9043e61875931b89bcd8c235470838a19bd3a284 /src/engine/SCons/UtilTests.py
parent14b0749ef9a6232ad1375f750baf00e0fea14e56 (diff)
downloadSCons-39d50eb2332228e827b56638877862f4c709a6bf.zip
SCons-39d50eb2332228e827b56638877862f4c709a6bf.tar.gz
SCons-39d50eb2332228e827b56638877862f4c709a6bf.tar.bz2
Add a Split() function (like argmunge()) in anticipation of removing the automatic white-space splitting from Builders in 0.08.
Diffstat (limited to 'src/engine/SCons/UtilTests.py')
-rw-r--r--src/engine/SCons/UtilTests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/UtilTests.py b/src/engine/SCons/UtilTests.py
index 34dba99..4f3195f 100644
--- a/src/engine/SCons/UtilTests.py
+++ b/src/engine/SCons/UtilTests.py
@@ -240,10 +240,10 @@ class UtilTestCase(unittest.TestCase):
if hasattr(types, 'UnicodeType'):
exec "assert not is_List(u'')"
- def test_argmunge(self):
- assert argmunge("foo bar") == ["foo", "bar"]
- assert argmunge(["foo", "bar"]) == ["foo", "bar"]
- assert argmunge("foo") == ["foo"]
+ def test_Split(self):
+ assert Split("foo bar") == ["foo", "bar"]
+ assert Split(["foo", "bar"]) == ["foo", "bar"]
+ assert Split("foo") == ["foo"]
def test_is_String(self):
assert is_String("")