~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-07-11 20:39:06 UTC
  • mfrom: (1830.3.17 mac)
  • Revision ID: pqm@pqm.ubuntu.com-20060711203906-910d9b22b82b219c
(jam) support mac-normalization for unicode files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
447
447
        bzr = self.run_bzr_decode
448
448
 
449
449
        txt = bzr('ls')
450
 
        self.assertEqual(['a', 'b', self.info['filename']],
451
 
                         txt.splitlines())
 
450
        self.assertEqual(sorted(['a', 'b', self.info['filename']]),
 
451
                         sorted(txt.splitlines()))
452
452
        txt = bzr('ls', '--null')
453
 
        self.assertEqual(['a', 'b', self.info['filename'], ''],
454
 
                         txt.split('\0'))
 
453
        self.assertEqual(sorted(['', 'a', 'b', self.info['filename']]),
 
454
                         sorted(txt.split('\0')))
455
455
 
456
456
        txt = bzr('ls', encoding='ascii', retcode=3)
457
457
        txt = bzr('ls', '--null', encoding='ascii', retcode=3)