/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_chk_map.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-13 21:59:57 UTC
  • mto: This revision was merged to the branch mainline in revision 4360.
  • Revision ID: jelmer@samba.org-20090513215957-9se99cq16q0h460t
Support empty keys when looking for common prefixes in CHKMap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    def test_not_a_prefix(self):
54
54
        self.assertCommonPrefix('b', 'begin', 'b')
55
55
 
 
56
    def test_empty(self):
 
57
        self.assertCommonPrefix('', '', 'end')
 
58
        self.assertCommonPrefix('', 'begin', '')
 
59
        self.assertCommonPrefix('', '', '')
 
60
 
56
61
 
57
62
class TestCaseWithStore(tests.TestCaseWithTransport):
58
63