~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-03-24 15:40:46 UTC
  • mfrom: (5107.2.1 integration2)
  • Revision ID: pqm@pqm.ubuntu.com-20100324154046-f9a50havuqyj8t1l
(vila, for parthm) better message for InvalidRevisionSpec

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        out, err = self.run_bzr('annotate hello.txt -r 10',
141
141
                                retcode=3)
142
142
        self.assertEqual('', out)
143
 
        self.assertContainsRe(err, 'Requested revision: \'10\' does not exist')
 
143
        self.assertContainsRe(err, "Requested revision: '10' does not exist")
144
144
 
145
145
    def test_annotate_cmd_two_revisions(self):
146
146
        out, err = self.run_bzr('annotate hello.txt -r1..2',