changeset 112:6190432f1d39

tests: fix test-bookmarks to match changed hg behavior After a fix in hg related to activating bookmarks, a test started failing
author Alexander Plavin <me@aplavin.ru>
date Thu, 02 May 2013 21:44:53 +0400
parents 63b92316623e
children 27591b5bb9d9
files tests/test-bookmarks.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bookmarks.py	Wed May 01 17:53:11 2013 -0500
+++ b/tests/test-bookmarks.py	Thu May 02 21:44:53 2013 +0400
@@ -17,7 +17,7 @@
         self.client.bookmark('one', rev1)
         self.assertEquals(self.client.bookmarks(),
                           ([('one', rev1, node1[:12]),
-                            ('zero', rev0, node0[:12])], 0))
+                            ('zero', rev0, node0[:12])], -1))
 
     #def test_spaces(self):
     #    self.client.bookmark('s pace', self.rev0)