~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2006-09-23 06:39:46 UTC
  • mfrom: (2034 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2035.
  • Revision ID: john@arbash-meinel.com-20060923063946-e596c8a8eef928b4
[merge] bzr.dev 2034

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        self.assertEquals(out, '')
98
98
        self.assertEquals(err, 'bzr: ERROR: bzr annotate --revision takes'
99
99
                               ' exactly 1 argument\n')
 
100
 
 
101
    def test_annotate_empty_file(self):
 
102
        tree = self.make_branch_and_tree('tree')
 
103
        self.build_tree_contents([('tree/empty', '')])
 
104
        tree.add('empty')
 
105
        tree.commit('add empty file')
 
106
 
 
107
        os.chdir('tree')
 
108
        out, err = self.run_bzr('annotate', 'empty')
 
109
        self.assertEqual('', out)