~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_win32utils.py

  • Committer: Gordon Tyler
  • Date: 2009-12-27 14:39:42 UTC
  • mto: (5037.3.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5046.
  • Revision ID: gordon@doxxx.net-20091227143942-h5m32sdty519vlg9
Fixed handling of multiple quoted arguments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
340
340
    def test_double_escape(self):
341
341
        self.assertAsTokens([(True, u'foo\\\\bar')], u'"foo\\\\bar"')
342
342
        self.assertAsTokens([(False, u'foo\\\\bar')], u"foo\\\\bar")
 
343
        
 
344
    def test_multiple_quoted_args(self):
 
345
        self.assertAsTokens([(True, u'x x'), (True, u'y y')],
 
346
            u'"x x" "y y"')
343
347
 
344
348
 
345
349
class Test_CommandLineToArgv(tests.TestCaseInTempDir):