/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: Gordon Tyler
  • Date: 2010-01-14 13:17:33 UTC
  • mto: (5037.3.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5046.
  • Revision ID: gordon@doxxx.net-20100114131733-6fab91i17sd1jdk9
Fixed a few more tests.

- test_from_string_u5 should use the "lowest common denominator" shell syntax.
- test_single_quotes mustn't check for win32 platform anymore since commands-parsing on win32 should support single quotes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1294
1294
            diff_obj.command_template)
1295
1295
 
1296
1296
    def test_from_string_u5(self):
1297
 
        diff_obj = DiffFromTool.from_string("diff '-u 5'", None, None, None)
 
1297
        diff_obj = DiffFromTool.from_string('diff "-u 5"', None, None, None)
1298
1298
        self.addCleanup(diff_obj.finish)
1299
1299
        self.assertEqual(['diff', '-u 5', '@old_path', '@new_path'],
1300
1300
                         diff_obj.command_template)