summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/UtilTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-04-05 09:39:27 (GMT)
committerSteven Knight <knight@baldmt.com>2002-04-05 09:39:27 (GMT)
commit703eac076d304885578e80ea100453e768abb52b (patch)
tree3122b200bda891612d3698596ee97b3403a65a6c /src/engine/SCons/UtilTests.py
parent863885a0df1f83b7e5b29f0370a865b4da330e24 (diff)
downloadSCons-703eac076d304885578e80ea100453e768abb52b.zip
SCons-703eac076d304885578e80ea100453e768abb52b.tar.gz
SCons-703eac076d304885578e80ea100453e768abb52b.tar.bz2
Various performance enhancements. (Anthony Roach)
Diffstat (limited to 'src/engine/SCons/UtilTests.py')
-rw-r--r--src/engine/SCons/UtilTests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/UtilTests.py b/src/engine/SCons/UtilTests.py
index d230a08..60d7d4d 100644
--- a/src/engine/SCons/UtilTests.py
+++ b/src/engine/SCons/UtilTests.py
@@ -208,6 +208,11 @@ 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_is_String(self):
assert is_String("")
if hasattr(types, 'UnicodeType'):