diff tests/test-rust-revlog.py @ 51254:f94c10334bcb

rust-index: renamed `MixedIndex` as `Index` It is simply not mixed any more, hence the name had become a future source of confusion.
author Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
date Sun, 29 Oct 2023 12:18:03 +0100
parents 96e05f1a99bd
children
line wrap: on
line diff
--- a/tests/test-rust-revlog.py	Sun Oct 29 23:54:05 2023 +0100
+++ b/tests/test-rust-revlog.py	Sun Oct 29 12:18:03 2023 +0100
@@ -27,16 +27,16 @@
 class RustRevlogIndexTest(revlogtesting.RevlogBasedTestBase):
     def test_heads(self):
         idx = self.parseindex()
-        rustidx = revlog.MixedIndex(revlogtesting.data_non_inlined, header)
+        rustidx = revlog.Index(revlogtesting.data_non_inlined, header)
         self.assertEqual(rustidx.headrevs(), idx.headrevs())
 
     def test_len(self):
         idx = self.parseindex()
-        rustidx = revlog.MixedIndex(revlogtesting.data_non_inlined, header)
+        rustidx = revlog.Index(revlogtesting.data_non_inlined, header)
         self.assertEqual(len(rustidx), len(idx))
 
     def test_ancestors(self):
-        rustidx = revlog.MixedIndex(revlogtesting.data_non_inlined, header)
+        rustidx = revlog.Index(revlogtesting.data_non_inlined, header)
         lazy = LazyAncestors(rustidx, [3], 0, True)
         # we have two more references to the index:
         # - in its inner iterator for __contains__ and __bool__