/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: Robert Collins
  • Date: 2008-02-01 04:01:33 UTC
  • mfrom: (3209 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3211.
  • Revision ID: robertc@robertcollins.net-20080201040133-7gc0fxqh3b8ot84x
Merge bzr.dev to resolve conflicts with register-branch NEWS items.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1246
1246
        self.addCleanup(diff_obj.finish)
1247
1247
        self.assertEqual(['diff', '%(old_path)s', '%(new_path)s'],
1248
1248
            diff_obj.command_template)
 
1249
 
 
1250
    def test_from_string_u5(self):
1249
1251
        diff_obj = DiffFromTool.from_string('diff -u\\ 5', None, None, None)
 
1252
        self.addCleanup(diff_obj.finish)
1250
1253
        self.assertEqual(['diff', '-u 5', '%(old_path)s', '%(new_path)s'],
1251
1254
                         diff_obj.command_template)
1252
1255
        self.assertEqual(['diff', '-u 5', 'old-path', 'new-path'],