~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge bzr.dev

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)