diff -r c627f1b2f3c3 -r 443dc1655923 tests/test-rust-revlog.py --- 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)