From e6db47e6cc4c9113b7e708454913285bbab4ff81 Mon Sep 17 00:00:00 2001 From: Tarek Date: Thu, 19 Dec 2024 22:07:46 +0200 Subject: [PATCH] a breaking change. ci should fail Signed-off-by: Tarek --- fs-index/src/tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs-index/src/tests.rs b/fs-index/src/tests.rs index e4685f2..b57e0d7 100644 --- a/fs-index/src/tests.rs +++ b/fs-index/src/tests.rs @@ -135,7 +135,8 @@ fn test_store_and_load_index_with_collisions() { ResourceIndex::build(root_path).expect("Failed to build index"); let checksum = Id::from_path(&file_path).expect("Failed to get checksum"); assert_eq!(index.len(), 4, "{:?}", index); - assert_eq!(index.collisions().len(), 1, "{:?}", index); + // a breaking change. ci should fail + assert_eq!(index.collisions().len(), 2, "{:?}", index); assert_eq!(index.collisions()[&checksum].len(), 4, "{:?}", index); index.store().expect("Failed to store index");