Mercurial > hgsubversion
changeset 1484:9f1fa3cc6ba5 stable
test_fetch_renames: change how this if statement works
It was just muddying the waters a little when I had to do some
debugging.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 26 Jun 2016 20:29:49 -0400 |
parents | 4379baf58f9e |
children | 6088597abd20 |
files | tests/test_fetch_renames.py |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_fetch_renames.py +++ b/tests/test_fetch_renames.py @@ -80,10 +80,9 @@ class TestFetchRenames(test_util.TestBas bool(cp), bool(want), 'copy records differ for %s in %d (want %r, got %r)' % ( f, rev, want, cp)) - if not cp: - continue - self.assertEqual(cp[0], want[0]) - self.assertEqual(ctx[f].data(), want[1]) + if cp: + self.assertEqual(cp[0], want[0]) + self.assertEqual(ctx[f].data(), want[1]) self.assertEqual(repo['tip']['changed3'].data(), 'changed\nchanged3\n')