/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_non_ascii.py

  • Committer: Aaron Bentley
  • Date: 2008-06-06 16:40:46 UTC
  • mfrom: (3482 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3483.
  • Revision ID: aaron@aaronbentley.com-20080606164046-ghbxplxuhtpcb9iz
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
362
362
        self.build_tree_contents([(fname, 'modified\n')])
363
363
 
364
364
        txt = self.run_bzr_decode('modified')
365
 
        self.assertEqual(fname+'\n', txt)
 
365
        self.assertEqual('"'+fname+'"'+'\n', txt)
366
366
 
367
367
        self.run_bzr_decode('modified', encoding='ascii', fail=True)
368
368
 
372
372
        self.wt.add(fname)
373
373
 
374
374
        txt = self.run_bzr_decode('added')
375
 
        self.assertEqual(fname+'\n', txt)
 
375
        self.assertEqual('"'+fname+'"'+'\n', txt)
376
376
 
377
377
        self.run_bzr_decode('added', encoding='ascii', fail=True)
378
378
 
439
439
 
440
440
        # TODO: jam 20060112 bzr unknowns is the only one which 
441
441
        #       quotes paths do we really want it to?
 
442
        #       awilkins 20080521 added and modified do it now as well
442
443
        txt = self.run_bzr_decode('unknowns')
443
444
        self.assertEqual(u'"%s"\n' % (fname,), txt)
444
445