# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1336829324 -7200 # Node ID 9562f606c4aa3e8884521927caaf2506042d4e59 # Parent 295a8b48e4e272193041838507fc82450025bc45 make assertion failures slightly more helpful by including the failing verification diff --git a/tests/comprehensive/test_verify_and_startrev.py b/tests/comprehensive/test_verify_and_startrev.py --- a/tests/comprehensive/test_verify_and_startrev.py +++ b/tests/comprehensive/test_verify_and_startrev.py @@ -57,11 +57,13 @@ def _do_case(self, name, stupid, layout) fulltip = repo['tip'] shallowtip = shallowrepo['tip'] + repo.ui.pushbuffer() self.assertEqual(0, svncommands.verify(repo.ui, shallowrepo, rev=shallowtip.node())) # viewing diff's of lists of files is easier on the eyes - self.assertMultiLineEqual('\n'.join(fulltip), '\n'.join(shallowtip)) + self.assertMultiLineEqual('\n'.join(fulltip), '\n'.join(shallowtip), + repo.ui.popbuffer()) for f in fulltip: self.assertMultiLineEqual(fulltip[f].data(), shallowtip[f].data())