--- a/tests/test-rust-revlog.py Thu Dec 12 18:11:44 2019 +0100
+++ b/tests/test-rust-revlog.py Thu Dec 12 03:39:14 2019 +0100
@@ -25,6 +25,13 @@
rustidx = revlog.MixedIndex(idx)
self.assertEqual(rustidx.headrevs(), idx.headrevs())
+ def test_get_cindex(self):
+ # drop me once we no longer need the method for shortest node
+ idx = self.parseindex()
+ rustidx = revlog.MixedIndex(idx)
+ cidx = rustidx.get_cindex()
+ self.assertTrue(idx is cidx)
+
def test_len(self):
idx = self.parseindex()
rustidx = revlog.MixedIndex(idx)