Mercurial > hgsubversion
changeset 894:9562f606c4aa
make assertion failures slightly more helpful by including the failing verification
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Sat, 12 May 2012 15:28:44 +0200 |
parents | 295a8b48e4e2 |
children | 5b9f17e34126 |
files | tests/comprehensive/test_verify_and_startrev.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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())