Skip to content

Commit

Permalink
a breaking change. ci should fail
Browse files Browse the repository at this point in the history
Signed-off-by: Tarek <[email protected]>
  • Loading branch information
tareknaser committed Dec 19, 2024
1 parent b416a24 commit e6db47e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs-index/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit e6db47e

Please sign in to comment.