~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-12-21 04:13:14 UTC
  • mfrom: (2197.2.2 diff-refactoring)
  • Revision ID: pqm@pqm.ubuntu.com-20061221041314-2991e63a023efcf1
(mbp) initial cleanups of cmd_diff (r=john)

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
        out, err = self.runbzr('diff does-not-exist', retcode=3)
119
119
        self.assertContainsRe(err, 'not versioned.*does-not-exist')
120
120
 
 
121
    def test_diff_illegal_revision_specifiers(self):
 
122
        out, err = self.runbzr('diff -r 1..23..123', retcode=3)
 
123
        self.assertContainsRe(err, 'one or two revision specifiers')
 
124
 
121
125
    def test_diff_unversioned(self):
122
126
        # Get an error when diffing a non-versioned file.
123
127
        # (Malone #3619)