Rev 3391: assert the right text is given in the error in http://bzr.arbash-meinel.com/branches/bzr/1.5-dev/reconcile_rev_history_177855

John Arbash Meinel john at arbash-meinel.com
Tue Apr 29 17:00:17 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.5-dev/reconcile_rev_history_177855

------------------------------------------------------------
revno: 3391
revision-id: john at arbash-meinel.com-20080429155330-4mb0y4xc8gb62tan
parent: john at arbash-meinel.com-20080429154714-iqrqt3dgg412ertk
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: reconcile_rev_history_177855
timestamp: Tue 2008-04-29 10:53:30 -0500
message:
  assert the right text is given in the error
modified:
  bzrlib/tests/branch_implementations/test_check.py test_check.py-20080429151303-1sbfclxhddpz0tnj-1
-------------- next part --------------
=== modified file 'bzrlib/tests/branch_implementations/test_check.py'
--- a/bzrlib/tests/branch_implementations/test_check.py	2008-04-29 15:47:14 +0000
+++ b/bzrlib/tests/branch_implementations/test_check.py	2008-04-29 15:53:30 +0000
@@ -51,7 +51,8 @@
 
         e = self.assertRaises(errors.BzrCheckError,
                               tree.branch.check)
-
+        self.assertEqual('Internal check failed:'
+                         ' revno does not match len(mainline) 3 != 5', str(e))
 
     def test_check_branch_report_results(self):
         """Checking a branch produces results which can be printed"""



More information about the bazaar-commits mailing list