~lifeless/bzr/index.range_map

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2008-06-19 01:17:19 UTC
  • mfrom: (3218.1.277 +trunk)
  • Revision ID: robertc@robertcollins.net-20080619011719-1c4g4uxzzhdls2wf
Merge 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