~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisionspec.py

Add more tests for dotted revnos. (Marius Kruger)

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
 
177
177
    def test_dotted_decimal(self):
178
178
        self.assertInHistoryIs(None, 'alt_r2', '1.1.1')
 
179
        self.assertInvalid('1.1.123')
179
180
 
180
181
    def test_negative_int(self):
181
182
        self.assertInHistoryIs(2, 'r2', '-1')