diff options
| author | Steven Knight <knight@baldmt.com> | 2002-04-17 20:17:55 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2002-04-17 20:17:55 (GMT) |
| commit | 82b0db2c19ef714da4e95095c8dee8c32fc294ac (patch) | |
| tree | a56895982a621f2d3806c841eea8dba89b97369a /src/engine/SCons/UtilTests.py | |
| parent | 181de357174cc9663407256408c813c344e6bd9b (diff) | |
| download | SCons-82b0db2c19ef714da4e95095c8dee8c32fc294ac.zip SCons-82b0db2c19ef714da4e95095c8dee8c32fc294ac.tar.gz SCons-82b0db2c19ef714da4e95095c8dee8c32fc294ac.tar.bz2 | |
Fix win32LinkGenerator.
Diffstat (limited to 'src/engine/SCons/UtilTests.py')
| -rw-r--r-- | src/engine/SCons/UtilTests.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/engine/SCons/UtilTests.py b/src/engine/SCons/UtilTests.py index fdffe4d..b424506 100644 --- a/src/engine/SCons/UtilTests.py +++ b/src/engine/SCons/UtilTests.py @@ -177,8 +177,16 @@ class UtilTestCase(unittest.TestCase): assert len(cmd_list) == 1, cmd_list assert cmd_list[0] == ['test', '3', '2', '4', 'test'], cmd_list - - + def test_quote_spaces(self): + """Testing the quote_spaces() method...""" + q = quote_spaces('x') + assert q == 'x', q + + q = quote_spaces('x x') + assert q == '"x x"', q + + q = quote_spaces('x\tx') + assert q == '"x\tx"', q def test_render_tree(self): class Node: |
