/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: 2009-01-06 16:16:52 UTC
  • mto: This revision was merged to the branch mainline in revision 3923.
  • Revision ID: john@arbash-meinel.com-20090106161652-mmiu620z0uwuq659
It turns out that internal_diff worked around the trailing whitespace problem
from unified_diff, so we have to remove that workaround.
Also, the filename should be separated from the date by a tab character, not by a blank
space.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1137
1137
                 'how are you today?\n']
1138
1138
        unified_diff = bzrlib.patiencediff.unified_diff
1139
1139
        psm = self._PatienceSequenceMatcher
1140
 
        self.assertEquals(['--- a 2008-08-08\n',
1141
 
                           '+++ b 2008-09-09\n',
 
1140
        self.assertEquals(['--- a\t2008-08-08\n',
 
1141
                           '+++ b\t2008-09-09\n',
1142
1142
                           '@@ -1,3 +1,2 @@\n',
1143
1143
                           ' hello there\n',
1144
1144
                           '-world\n',