/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/test_diff.py

  • Committer: John Arbash Meinel
  • Date: 2007-02-08 21:57:04 UTC
  • mfrom: (2273 +trunk) (2276 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2277.
  • Revision ID: john@arbash-meinel.com-20070208215704-87s4qnsjfqi4x83w
[merge] bzr.dev 2276

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
        # Make sure external_diff doesn't fail in the current LANG
206
206
        lines = external_udiff_lines(['\x00foobar\n'], ['foo\x00bar\n'])
207
207
 
208
 
        cmd = ['diff', '-u', 'old', 'new']
 
208
        cmd = ['diff', '-u', '--binary', 'old', 'new']
209
209
        open('old', 'wb').write('\x00foobar\n')
210
210
        open('new', 'wb').write('foo\x00bar\n')
211
211
        pipe = subprocess.Popen(cmd, stdout=subprocess.PIPE,