Mercurial > public > mercurial-scm > hg
diff tests/test-rust-revlog.py @ 52814:3fcd86374074
rust-pyo3-revlog: canonical_index_file property
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 02 Jan 2025 17:44:52 +0100 |
parents | adf91dfe6c04 |
children |
line wrap: on
line diff
--- a/tests/test-rust-revlog.py Thu Jan 02 17:27:22 2025 +0100 +++ b/tests/test-rust-revlog.py Thu Jan 02 17:44:52 2025 +0100 @@ -192,6 +192,10 @@ # let's check bool for an empty one self.assertFalse(LazyAncestors(rustidx, [0], 0, False)) + def test_canonical_index_file(self): + irl = self.make_inner_revlog() + self.assertEqual(irl.canonical_index_file, b'test.i') + # Conditional skipping done by the base class class PyO3InnerRevlogTest(