~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_cmdline.py

  • Committer: Vincent Ladeuil
  • Date: 2010-12-06 14:01:44 UTC
  • mto: (5321.1.101 mergetools)
  • mto: This revision was merged to the branch mainline in revision 5632.
  • Revision ID: v.ladeuil+lp@free.fr-20101206140144-yz3cp2paek953gp4
More cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
        self.assertAsTokens([(False, r'\\"'), (False, r'*.py')],
114
114
                            r'\\\\\" *.py')
115
115
        self.assertAsTokens([(True, u'\\\\')], u'"\\\\')
116
 
 
117
 
 
118
 
class TestUnSplit(tests.TestCase):
119
 
 
120
 
    def test_unsplit(self):
121
 
        self.assertEquals('foo bar', cmdline.unsplit(['foo', 'bar']))
122
 
 
123
 
    def test_unsplit_quotes(self):
124
 
        self.assertEquals('foo "woo hoo" bar',
125
 
                          cmdline.unsplit(['foo', 'woo hoo', 'bar']))